Accueil du forum » Javascript » formulaire d'envoi
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="WebExpert 5">
<script type="text/javascript">
function controle(frm)
{
return true; // si ok, false si erreur
}
</script>
</head>
<body background="grey.jpg">
<br><br><center>
<br>
<FORM METHOD="GET" ACTION=" mailto:moi@monfai.fr " enctype="text/plain"
name="form1"
onsubmit='return (controle(this));'>
<table border="0" width=650 align=center><tr><td width=200>
<b>Nom : </b></td><td><input name="nom"size=40 maxlength=40></td></tr>
<tr>
<td width=200>
<b>Prenom : </b></td><td><input name="PRENOM"size=40 maxlength=40></td></tr>
<tr><td width=200>
<b>Téléphone : </b></td><td><input name="telephone"size=40 maxlength=40></td></tr><tr><td width=200>
<b>E-mail : </b></td><td><input name="mail"size=40 maxlength=40></td></tr><tr><td width=200>
<b> Choisissez le support<select name="Options"Options" size="1">
<option>Vase</option>
<option>Verre</option>
<option>Miroir</option>
<option>(Autre)</option>
</select></td><td><font color="#000000"> Autre : <input type="text" size="26" maxlength="256" name="AutreObjet">
</td></tr>
<tr>
<td width=200> </td><td>
<input type="text" name="reference">
<a href="#" onClick="window.open('ref.html','popup','width=400,height=200,toolbar=yes,scrollbars=yes');">
<INPUT type="button" value="Ouvrir le popup"></a></td></tr><tr><td width=200> </td><td>
<input type="submit" value="Envoyer" >
<input type="reset" value="Effacer">
</FORM>
</td></tr>
</table>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href="#" onClick="window.opener.document.form1.reference.value = 'reference1';"><img src="grav.jpg"></a>
<a href="#" onClick="window.opener.document.form1.reference.value = 'reference2';">Reference 2</a>
<a href="#" onClick="window.opener.document.form1.reference.value = 'reference3';">Reference 3</a>
<a href="#" onClick="window.opener.document.form1.reference.value = 'reference4';">Reference 4</a>
</body>
</html>
________________
mojchris
________________
Et sans oubliet les règles de politesse envers moi et tout le monde. Merci de votre comphréension.
Au plaisir, Chuno1998
- Les conditions générales d'utilisation du site