Salut,
<body>
<form name="form1" method="post" action="output.asp">
<p>ville :
<input name="ville" type="text" id="ville" value="">
</p>
<p>sexe :
m <input type="radio" name="radiobutton" value="masculin">
f <input type="radio" name="radiobutton" value="féminin">
</p>
<p>choisi parmis les 3 solutions :
<input name="soluc1" type="checkbox" id="soluc1" value="1">
soluc1
<input name="soluc2" type="checkbox" id="soluc2" value="2">
soluc2
<input name="soluc3" type="checkbox" id="soluc3" value="3">
soluc3</p>
<p>commentaires :</p>
<p> <textarea name="commentaires" id="commentaires"></textarea>
</p>
<p>
<input type="submit" name="Submit" value="Envoyer">
</p>
<p> </p>
</form>
</body>
et
<%@LANGUAGE="VBSCRIPT"%>
<%
' ****************************************
' * DO NOT MODIFY THE FOLLOWING VALUES *
' * ServerObjects Inc. will NOT debug *
' * multi-part message problems! *
' * DO NOT MODIFY THE FOLLOWING VALUES *
' ****************************************
BOUNDARY = "----xxxxxx"
TEXT_HEADER = "--" & BOUNDARY & VBCrLf & "Content-Type: text/plain;" & VBCrLf & _
"Content-Transfer-Encoding: 7bit" & VBCrLf & VBCrLf
HTML_HEADER = "--" & BOUNDARY & VBCrLf & "Content-Type: text/html;" & VBCrLf & _
"Content-Transfer-Encoding: 7bit" & VBCrLf & VBCrLf
MP_FOOTER = "--" & BOUNDARY & "--" & VBCrLf
' ******************************************************
' * Set strTextBody to your message in plain text format
' ******************************************************
strprovenance = Request.Form("ville")
strsexe = Request.form("radiobutton")
strsoluc1 = request.form("soluc1")
strsoluc2 = request.form("soluc2")
strsoluc3 = request.form("soluc3")
strcomment = request.form("commentaires")
%>
<html><head><title><center>Message du site</center></title></head>
<body bgcolor="white" text="Black" link="#0000FF" vlink="#800080">
<font face="Arial"><b>Voici le contenu du message</b><br></font>
<font size="5" color="#FF0000"><u><b>Demande de formulaire :</b></u></font>
<br>
<br>
<b><u>Provient de la ville de :</u><%=strprovenance%><br>
<b><u>Sexe : </u><%=strsexe%><br>
<b><u>Solution1 : </u><%=strsoluc1%><br>
<b><u>Solution2 : </u><%=strsoluc2%><br>
<b><u>Solution3 : </u><%=strsoluc3%><br>
<b><u>Commentaires : </u><%=strcomment%><br>
</body>
</html>
yopyop