Bonjour, je dois pour mon site web créer un formulaire en ligne, j'ai donc réalisé le formulaire, mais je ne sais absolument pas comment quand un utilisateur viens sur le site et se sert de ce formulaire je puisse le recevoir sur mon adresse email.
voici mon formulaire, qu'est qu'il me manque, est-il correct ?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SITEWEB</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="610" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="13"><img src="../images/spacer.gif" width="13" height="20"></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="20"><img src="../images/spacer.gif" width="20" height="20"></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="22">
</table>
<p>Vous avez un projet de film, et vous souhaitez avoir
un devis, renseignez le formulaire ci-dessous et nous
vous répondrons dans les plus bref délais.
<style type="text/css">
<!--
.obligatoire {
font-style: italic;
font-weight: bold;
color: #FF0000;
}
.remerciements {
font-size: 11px;
font-weight: bold;
color:#000066;
}
-->
</style>
<script language="JavaScript" src="../library/lib.form_verify.js"></script>
<script language="JavaScript">
<!--
function valid_form_6()
{
if(!is_full('reponse_42'))
{
alert("Le champ \nNom\nn'est pas rempli");
return false; }
if(!is_type('text', 'reponse_42'))
{
alert("Le champ \nNom\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_43'))
{
alert("Le champ \nPrénom\nn'est pas rempli");
return false; }
if(!is_type('text', 'reponse_43'))
{
alert("Le champ \nPrénom\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_44'))
{
alert("Le champ \nAdresse\nn'est pas rempli");
return false; }
if(!is_type('text', 'reponse_44'))
{
alert("Le champ \nAdresse\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_45'))
{
alert("Le champ \nCode postal\nn'est pas rempli");
return false; }
if(!is_type('text_number', 'reponse_45'))
{
alert("Le champ \nCode postal\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_46'))
{
alert("Le champ \nVille\nn'est pas rempli");
return false; }
if(!is_type('text', 'reponse_46'))
{
alert("Le champ \nVille\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_56'))
{
alert("Le champ \nE-mail\nn'est pas rempli");
return false; }
if(!is_type('text', 'reponse_56'))
{
alert("Le champ \nE-mail\nn'a pas le type attendu");
return false; }
if(!is_full('reponse_121'))
{
alert("Le champ \nTéléphone fixe ou portable(à renseigner sans espace)ex : 0600000000\nn'est pas rempli");
return false; }
if(!is_type('text_number', 'reponse_121'))
{
alert("Le champ \nTéléphone fixe ou portable(à renseigner sans espace)ex : 0600000000\nn'a pas le type attendu");
return false; }
if(!is_type('text', 'reponse_48'))
{
alert("Le champ \nPays\nn'a pas le type attendu");
return false; }
if(!is_type('textarea', 'reponse_47'))
{
alert("Le champ \nVotre demande\nn'a pas le type attendu");
return false; }
return true;
}
// -->
</script>
<form action="../form/form_view_trt.php" method="post" enctype="multipart/form-data" onSubmit="return valid_form_6();" >
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top"><span class="obligatoire">Nom</span></td>
<td> <input name="reponse[42]" type="text" id="reponse_42" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="obligatoire">Prénom</span></td>
<td> <input name="reponse[43]" type="text" id="reponse_43" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="obligatoire">Adresse</span></td>
<td> <input name="reponse[44]" type="text" id="reponse_44" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="obligatoire">Code postal</span></td>
<td> <input name="reponse[45]" type="text" id="reponse_45" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="obligatoire">Ville</span></td>
<td> <input name="reponse[46]" type="text" id="reponse_46" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="obligatoire">E-mail</span></td>
<td> <input name="reponse[56]" type="text" id="reponse_56" value="">
</td>
</tr>
<tr>
<td valign="top"><p><span class="obligatoire">Téléphone
(à renseigner sans espace)<br />
</span><span class="obligatoire">ex : 0600000000</span></p></td>
<td> <input name="reponse[121]" type="text" id="reponse_121" value="">
</td>
</tr>
<tr>
<td valign="top"><span class="">Pays</span></td>
<td> <input name="reponse[48]" type="text" id="reponse_48" value="">
</td>
</tr>
<tr>
<td height="153" valign="top"><span class="">Film</span></td>
<td> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="0">
Evènementiel</label> <br> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="1">
Sportif</label> <br> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="2">
Publicitaire</label> <br> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="2">
Documentaire</label> <br> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="2">
Mariage</label> <br> <label>
<input type="checkbox" name="reponse[49][]" id="reponse_49" value="2">
Autre</label> <br> </td>
</tr>
<tr>
<td valign="top">Support de communication</td>
<td> <label>
<input type="checkbox" name="reponse[52][]" id="reponse_52" value="0">
CD Room</label> <br> <label>
<input type="checkbox" name="reponse[52][]" id="reponse_52" value="1">
DVD</label> <br> <label>
<input type="checkbox" name="reponse[52][]" id="reponse_52" value="1">
Vidéo sur internet</label> <br> <label>
<input type="checkbox" name="reponse[52][]" id="reponse_52" value="2">
Autre</label> <br> </td>
</tr>
<tr>
<td height="61" class="descriptifgrasgris"> Quelle est
sa durée (estimation)? </td>
<td align='left'> <select name="duree">
<option value="choisir dans la liste">choisir dans
la liste</option>
<option><span class="grostitre"> moins de 60 sec.</span></option>
<option><span class="grostitre"> jusqu'à 3
minutes </span></option>
<option><span class="grostitre"> entre 3 et 7 minutes
</span></option>
<option><span class="grostitre"> + de 7 minutes </span></option>
</select> </td>
</tr>
<tr>
<td height="66" class="descriptifgrasgris"> Son budget
estimé ? </td>
<td> <select name="budget">
<option value="choisir dans la liste">choisir dans
la liste</option>
<option><span class="grostitre"> EUR</span></option>
<option><span class="grostitre"> EUR</span></option>
<option><span class="grostitre"> EUR</span></option>
<option><span class="grostitre"> EUR</span></option>
</select> </td>
</tr>
<tr>
<td class="descriptifgrasgris"> Date de livraison souhaitée
: </td>
<td align='left'> <input value='jj/mm/aaaa' type="text" name="date_livraison" size=14 maxlength=50>
</td>
</tr>
<tr>
<td valign="top"><span class="">Pourquoi souhaitez vous
faire ce film ?</span></td>
<td> <textarea name="reponse[47]" cols="30" rows="4" id="reponse_47"></textarea>
</td>
</tr>
<td>Quand souhaitez vous être contacté ?</td>
</tr>
<tr>
<td height="41">
<input type="radio" value="0" name="reponse_client" checked> <span class="descriptifgrasgris"> Dès réception de la demande</span></td></tr>
<tr>
<td height="77">
<input type="radio" value="1" name="reponse_client"><span class="descriptifgrasgris"> Autre </span><input type="text" name="date_rappel" value="jj/mm/aaaa"><span class="descriptifgrasgris"> entre </span><select name="deb_heure">
<option>8h</option>
<option selected>9h</option>
<option>10h</option>
<option>11h</option>
<option>12h</option>
<option>13h</option>
<option>14h</option>
<option>15h</option>
<option>16h</option>
<option>17h</option>
<option>18h</option>
<option>19h</option>
<option>20h</option>
</select>
et <select name="fin_heure">
<option>8h</option>
<option>9h</option>
<option>10h</option>
<option>11h</option>
<option>12h</option>
<option>13h</option>
<option>14h</option>
<option>15h</option>
<option>16h</option>
<option>17h</option>
<option selected>18h</option>
<option>19h</option>
<option>20h</option>
</select>
</td>
<tr>
<td height="84" valign="top">Vous souhaitez recevoir par
e-mail des informations sur nos offres et nos prestations.
</td>
<td> <label>
<input type="radio" checked name="reponse[173]" id="reponse_173" value="0">
Oui</label> <br> <label>
<input type="radio" name="reponse[173]" id="reponse_173" value="1">
Non</label> <br> </td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="valider votre demande de devis"> <input name="form_id" type="hidden" id="form_id" value="6"></td>
</tr>
</table>
</form>
<p align="center">Nous traitons vos demande dans les plus bref délais,
merci de nous avoir fait confiance.</p>
<p align="center">Contact</p>
<p align="center">TEXTE</p>
<p align="center">Conformément à la loi « informatique et libertés
» du 06 août 2004, vous disposez d'un droit de modification
des données transmises via les formulaires du site Internet
sur simple demande.</p>
<p></p>
</td>
<td width="10"> </td>
</tr>
</table></td>
<td width="25"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
je suis nouveau ici, j'ai entendu que tu bien de ce forum, j'espère qu'on pourra m'aider pour cette première recherche.
en tout cas très bon site, félicitation...