supinfo
Ouverture de  SUPINFO USA à San Francisco en 2008. Des études en informatique en Californie à un tarif abordable ! Inscrivez-vous dès maintenant !
supinfo
Connexion :

Recherche

  
   Tout| Actus| Télécharger| Pilotes| Comparateur de prix| Dossiers| Forums| Jeux

2 messages
ok

Formulaire en HTML ne parche pas sous ie 6 et 7 - Formulaire fonctionne avec Firefox

Bonjour A tous

J'ai créer un formulaire de réservation pour un chambre. (Voir Script HTML en fichier joint)
Je m'arrache les cheveux depuis une semaine!!
Voila mon problème. Ce formulaire fonctionne très bien avec Firefox. Lorsque je fais "envoyer" il m'ouvre un mail et m'indique les champs suivants

email=
nom=
prenom=
adresse=
cp=
ville=
pays=
tel=
fax=
nb-adulte=1
jour-arrivee=1
mois-arrivee=3
jour-depart=1
mois-depart=3
observations=
submitButtonName=ENVOYER

Lorsque je fais "envoyer" a partir d'Internet Explorer 6 ou 7 (j'ai essayé sur plusieurs bécanes) il m'ouvre le mail vide....
Pourriez m'indiquer ou ce trouve l'erreur dans mon script. J'ai 3 bouquin sur le HTML et je ne trouve rien.
Merci pour ce service.
Je vous remercie d'avance
Cordialement.

<html>

<head>


</head>
<form method=post enctype="text/plain"
action="mailto:cvt@cvlebelge.net">






<body bgcolor="#9900ff" link="yellow" vlink="aqua">
<table width="659" border="0" cellspacing="0" cellpadding="0" align="center" cool gridx="16" gridy="16" height="947" showgridx showgridy>

<tr height="946">
<td width="54" height="946"></td>
<td width="604" height="946" valign="top" align="left" xpos="54">
<table width="550" border="0" cellspacing="2" cellpadding="0" align="center" height="724">
<tr height="701">
<td align="center" valign="top" width="540" height="701" background="fdcontact.gif">
<div align="center">

<table width="64" border="0" cellspacing="2" cellpadding="0" height="672">
<tr height="528">
<td width="54" height="528">
<table width="460" border="0" cellspacing="2" cellpadding="0" align="center">
<tr height="111">
<td width="147" height="111"></td>
<td width="299" height="111"></td>
</tr>
<tr height="8">

<td width="147" height="8"></td>
<td width="299" height="8"></td>
</tr>
<tr height="21">
<td width="147" height="21"></td>
<td width="299" height="21"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Email</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="email" size="45" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Nom</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="nom" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Pr&eacute;nom</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="prenom" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Adresse</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="adresse" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">CP</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="cp" size="10" maxlength="10" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Ville</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="ville" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Pays</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="pays" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Tel :</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="tel" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="21">
<td width="147" height="21">

<div align="center">
<b><font size="2" color="white">Fax :</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="21"><input type="text" name="fax" size="35" maxlength="60" border="0"></td>
</tr>
<tr height="28">
<td width="147" height="28">
<div align="center">
<b><font size="2" color="white">Nb d'adultes</font><font color="white"><br>
</font></b></div>
</td>

<td width="299" height="28"><select name="nb-adulte" size="1">
<option selected value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select></td>
</tr>

<tr height="28">

<td width="147" height="28">
<div align="center">
<b><font size="2" color="white">Date arriv&eacute;e</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="28">
<div align="center">
<table width="306" border="0" cellspacing="2" cellpadding="0">

<tr height="24">
<td width="115" height="24"><font size="2" color="yellow"><b>JOUR :</b></font> <select name="jour-arrivee" size="1" tabindex="1">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>

<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>

<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>

<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>

<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>

<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select></td>
<td width="17" height="24"></td>
<td width="166" height="24"><font size="2" color="yellow"><b>MOIS :</b></font><font size="3" color="yellow"><b> </b></font><select name="mois-arrivee" size="1">

<option value="3">Mars</option>
<option value="4">Avril</option>
<option value="5">Mai</option>
<option value="6">Juin</option>
<option value="7">Juillet</option>
<option value="8">Aout</option>

<option value="9">Septembre</option>
<option value="10">Octobre</option>
</select></td>
</tr>
</table>
</div>
</td>
</tr>

<tr height="28">
<td width="147" height="28">
<div align="center">
<b><font size="2" color="white">Date d&eacute;part</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="28">
<table width="308" border="0" cellspacing="2" cellpadding="0" height="42">

<tr height="38">
<td width="115" height="38"><font size="2" color="yellow"><b>JOUR :</b></font><font size="2"> </font><select name="jour-depart" size="1" tabindex="1">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>

<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>

<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>

<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>

<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>

<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select></td>
<td width="17" height="38"></td>
<td width="168" height="38"><font size="2" color="yellow"><b>MOIS :</b></font><font size="3" color="yellow"><b> </b></font><select name="mois-depart" size="1">

<option value="3">Mars</option>
<option value="4">Avril</option>
<option value="5">Mai</option>
<option value="6">Juin</option>
<option value="7">Juillet</option>
<option value="8">Aout</option>

<option value="9">Septembre</option>
<option value="10">Octobre</option>
</select></td>
</tr>
</table>
</td>
</tr>
<tr height="28">

<td width="147" height="28">
<div align="center">
<b><font size="2" color="white">Vos<br>
observations</font><font color="white"><br>
</font></b></div>
</td>
<td width="299" height="28">
<div align="center">

<textarea name="observations" rows="6" cols="43"></textarea></div>
</td>
</tr>
</table>
</td>
</tr>
<tr height="18">
<td width="54" height="18">

<div align="left">
<table width="331" border="0" cellspacing="2" cellpadding="0" height="22">
<tr height="18">
<td width="205" height="18">
<div align="left">
<font size="3" color="yellow"><b><a href="indexfl.html?quot;>RETOUR</a></b></font></div>

</td>

<td width="120" height="18">
<input type="submit" name="submitButtonName" value="ENVOYER" border="0" dir="ltr"></td>

</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>

</tr>
</table>
</td>
<td width="1" height="946"><spacer type="block" width="1" height="946"></td>
</tr>
<tr height="1" cntrlrow>
<td width="54" height="1"><spacer type="block" width="54" height="1"></td>
<td width="604" height="1"><spacer type="block" width="604" height="1"></td>
<td width="1" height="1"></td>

</tr>

</table>
</form>

<p></p>
</body>
</html?gt;

@@+

Christian Van Tuykom
Le Serre
26170 Saint-Auban / Ouvèze
Tél. 06 88 00 56 40
cvt@cvlebelge.fr
 
 
Tu peux peut-être essayer de passer par une page en php (dans l'attribut action de ta balise <form>, tu remplace mailto:mail@mail.tld par l'adresse de la page php, et cette même page enverra tout ça sur la boite mail.

Tu peux me contacter par MP si tu ne sais pas le faire, j'ai de maigres connaissances en php mais on devrait y arriver.

edit: retire ton adresse mail du forum tu vas attirer les SPAM ^^
 
 
 
2 messages
ok
 
Vous devez être connecté pour écrire un message !
 

 Sujets Similaires:


 
Clubic.com
 
Achetez-facile.com
 
Jeuxvideo.fr
 
neteco.com
 
mobinaute.com