Bonjour,
Mon formulaires est validé en xhtml strict mais j'ai l'erreur suivante lors de son envoi :
Sending of the form content by E-mail
This form cannot be dealt with, for one or more mandatory fields are undefined or incorrect. (4)
Voici le code :
<form method="post" id="mon_form" action="http://users.skynet.be/cgi-bin/form.cgi">
<input type="hidden" name="to" id="to" value="XXXXXX.YYYYYY@skynet.be" />
<input type="hidden" name="next" id="next" value="http://users.skynet.be/bs716633/index.html" />
<input type="hidden" name="subject" id="subject" value="question venant du site" />
<input type="hidden" name="lang" id="lang" value="fr" />
<div id="titre_form">
<p>Contactez-nous !
</p>
</div>
<fieldset>
<legend>Coordonnées</legend>
<label for="form_lastname">Nom : </label>
<input type="text" id="form_lastname" name="lastname" size="30"/>
<label for="form_firstname">Prénom : </label>
<input type="text" id="form_firstname" name="firstname" size="30"/>
<label for="form_adresse">Adresse : </label>
<input type="text" id="form_adresse" name="adress" size="50" />
<label for="form_postalcode">Code postal : </label>
<input type="text" id="form_postalcode" name="postalCode" size="5" />
<label for="form_city">Localité : </label>
<input type="text" id="form_city" name="city" size="30"/>
<label for="form_mail">Adresse mail : </label>
<input type="text" id="form_mail" name="mail" size="30"/>
</fieldset>
<fieldset>
<legend>Message</legend>
<p>
<label for="form_objet">Objet : </label>
<input type="text" id="form_objet" name="objet" size="50"/>
</p>
<p>
<label for="form_objet">Message : </label>
<textarea rows="5" cols="40" id="form_msg" name="message"></textarea>
</p>
</fieldset>
<div id="pied_form">
<p>
<input type="submit" name="submit" id="submit" value="Envoyer" />
</p>
<p>
<input type="reset" name="reset" id="reset" value="Effacer" />
</p>
</div>
</form>
Merci pour votre aide.
Mon formulaires est validé en xhtml strict mais j'ai l'erreur suivante lors de son envoi :
Sending of the form content by E-mail
This form cannot be dealt with, for one or more mandatory fields are undefined or incorrect. (4)
Voici le code :
<form method="post" id="mon_form" action="http://users.skynet.be/cgi-bin/form.cgi">
<input type="hidden" name="to" id="to" value="XXXXXX.YYYYYY@skynet.be" />
<input type="hidden" name="next" id="next" value="http://users.skynet.be/bs716633/index.html" />
<input type="hidden" name="subject" id="subject" value="question venant du site" />
<input type="hidden" name="lang" id="lang" value="fr" />
<div id="titre_form">
<p>Contactez-nous !
</p>
</div>
<fieldset>
<legend>Coordonnées</legend>
<label for="form_lastname">Nom : </label>
<input type="text" id="form_lastname" name="lastname" size="30"/>
<label for="form_firstname">Prénom : </label>
<input type="text" id="form_firstname" name="firstname" size="30"/>
<label for="form_adresse">Adresse : </label>
<input type="text" id="form_adresse" name="adress" size="50" />
<label for="form_postalcode">Code postal : </label>
<input type="text" id="form_postalcode" name="postalCode" size="5" />
<label for="form_city">Localité : </label>
<input type="text" id="form_city" name="city" size="30"/>
<label for="form_mail">Adresse mail : </label>
<input type="text" id="form_mail" name="mail" size="30"/>
</fieldset>
<fieldset>
<legend>Message</legend>
<p>
<label for="form_objet">Objet : </label>
<input type="text" id="form_objet" name="objet" size="50"/>
</p>
<p>
<label for="form_objet">Message : </label>
<textarea rows="5" cols="40" id="form_msg" name="message"></textarea>
</p>
</fieldset>
<div id="pied_form">
<p>
<input type="submit" name="submit" id="submit" value="Envoyer" />
</p>
<p>
<input type="reset" name="reset" id="reset" value="Effacer" />
</p>
</div>
</form>
Merci pour votre aide.