Validation de mon formulaire

LES CARANGUES Messages postés 2 Date d'inscription   Statut Membre Dernière intervention   -  
 Le grand LS -
Bonjour,
j'ai créé un site pour mon club de plongée dont je suis le secrétaire et je viens de faire une nouvelle page avec un formulaire d'inscriptions aux sorties.
j'aimerais savoir comment faire pour recevoir l'inscription effectuée via ma messagerie, cela se passe sans doute dans le fichier source...mais je ne suis pas doué, et je ne sais pas ou mettre mon mail pour qu'elle m'arrive.
y a t'il une bonne âme pour m'aider, je fais un copier coller de mon fichier source.
merci de votre aide

<html>

<head>
<base href="file:///C:/Users/joel/Desktop/Nouveau%20dossier/inscription.html">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>inscription aux sorties plongées</title>
<title>Formulaire d'inscription sortie</title>
<style type="text/css">
<!--
-->
</style>
<style> <!-- a{text-decoration:none} //--> </style>
<style> <!-- a:hover{text-decoration:underline;} --> </style>
</head>

<body background="file:///C:/Users/joel/Desktop/Club13/img/290.jpg">

<div align="center">
<center>
<table border="0" width="470" height="660">
<tr>
<td width="917" height="92" colspan="2" bgcolor="#FFFFFF"><img border="0" src="file:///C:/Users/joel/Desktop/Club13/img/102Anthias6%20a.jpg" width="761" height="277"></td>
</tr>
<tr>
<td width="917" height="25" colspan="2"></td>
</tr>
<tr>
<td width="917" height="42" colspan="2" style="color: #000000" bgcolor="#FFFFFF"><font size="3"><b><font face="Arial, Helvetica, sans-serif" color="#000000">                                                
<u>Formulaire d'inscription aux sorties mer et fosses</u></font></b></font>
<table width="707" border="0" cellspacing="3" bgcolor="#FFFFFF">
<tr>
<td colspan="5" width="753">
<div align="left">
<b><font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF">Coordonnées</font></b>
</div>
</td>
</tr>
<tr>
<td width="77">
<div align="right">
<font face="Arial, Helvetica, sans-serif" size="2">Nom</font>
</div>
</td>
<td width="410"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="nom" maxlength="128" size="20"></font></td>
<td width="63"><font face="Arial, Helvetica, sans-serif" size="2">Prénom</font></td>
<td width="159"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="prenom" maxlength="128" size="20"></font></td>
<td width="12"><font face="Arial, Helvetica, sans-serif" size="2"> </font></td>
</tr>
<tr>
<td width="77">
<div align="right">
<font face="Arial, Helvetica, sans-serif" size="2">Émail</font>
</div>
</td>
<td width="410"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="email" maxlength="128" size="40"></font></td>
<td width="63"><font face="Arial, Helvetica, sans-serif" size="2">Club</font></td>
<td width="159"><font face="Arial, Helvetica, sans-serif" size="2"><select name="club" size="1" id="club" multiple>
<option selected>Les carangues</option>
<option selected>Autres</option>
</select></font></td>
<td width="12"> </td>
</tr>
<tr>
<td colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td colspan="5" width="753">
<div align="left">
<font face="Arial, Helvetica, sans-serif" size="3"><b><font color="#FFFFFF">Sortie</font></b></font>
</div>
</td>
</tr>
<tr>
<td width="77"><font face="Arial, Helvetica, sans-serif" size="2">Lieu
- date</font></td>
<td width="410"><font size="2" face="Arial, Helvetica, sans-serif"><select name="sortie" size="1" multiple>
<option selected>Cerbère le week end du 25/26 avril 2009</option>
<option selected>Les goudes le week end du 21/24 mai 2009</option>
<option selected>Banyuls le 10 juin 2009</option>
<option selected>Llafranc ou Port de la serva le week end du
13/14 juin 2009</option>
<option selected>Port-cros pour la sortie moniteurs 27/28 juin</option>
<option selected>fosse apnée</option>
<option selected>fosse plongeur</option>
</select></font></td>
<td width="63"><font size="2" face="Arial, Helvetica, sans-serif">Activité</font></td>
<td colspan="2" width="179"><font size="2" face="Arial, Helvetica, sans-serif"><select name="activite" size="1" multiple>
<option selected>Accompagnant</option>
<option selected>N1</option>
<option selected>N2</option>
<option selected>N3</option>
<option selected>N4</option>
<option selected>E2</option>
<option selected>MF1</option>
</select>
 </font></td>
</tr>
<tr>
<td colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td colspan="5" width="753"><b><font size="3" face="Arial, Helvetica, sans-serif" color="#FFFFFF">Réservation
(matériel de votre club d'appartenance)</font></b></td>
</tr>
<tr>
<td width="77" height="10"><font face="Arial, Helvetica, sans-serif" size="2">
Hébergement</font></td>
<td height="10" width="410"><font face="Arial, Helvetica, sans-serif" size="2"><select name="hebergement" size="1" multiple>
<option selected>1 pers.</option>
<option selected>2 pers.</option>
<option selected>3 pers.</option>
<option selected>4 pers.</option>
<option selected>5 pers.</option>
<option selected>Non</option>
</select></font></td>
<td height="10" width="63"><font face="Arial, Helvetica, sans-serif" size="2">bouteille</font></td>
<td height="10" colspan="2" width="179"><font face="Arial, Helvetica, sans-serif" size="2"><select name="flotteur" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select>    </font></td>
</tr>
<tr>
<td width="77" height="10"><font face="Arial, Helvetica, sans-serif" size="2">Gilet</font></td>
<td height="10" width="410"><font face="Arial, Helvetica, sans-serif" size="2"><select name="gilet" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select></font></td>
<td height="10" width="63"><font face="Arial, Helvetica, sans-serif" size="2">détendeur</font></td>
<td height="10" colspan="2" width="179"><font face="Arial, Helvetica, sans-serif" size="2"><select name="casque" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select></font></td>
</tr>
<tr>
<td height="20" colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td height="20" valign="top" width="77"><font face="Arial, Helvetica, sans-serif" size="2">Notes
éventuelles, covoiturage...</font></td>
<td height="20" colspan="4" width="668"><textarea name="notes" cols="80" rows="1"></textarea><br>
<font size="2" face="Arial, Helvetica, sans-serif">Indiquez dans cette zone votre N° de licence ainsi que votre niveau de
plongeur.</font></td>
</tr>
<tr>
<td height="20" colspan="5" width="753">
<div align="left">
<input type="submit" name="valider" value="Valider l'inscription">
</div>
</td>
</tr>
</table>
<p><b><font face="Arial, Helvetica, sans-serif" size="3" color="#000000"> Votre inscription vous
sera confirmée par mail en fonction des disponibilités ( la capacité
d'encadrement
et sur le matériel disponible). Priorité basée sur l'ordre
d'inscription.</font></b></p>
<p></td>
</tr>
<tr>
<td width="917" height="39" colspan="2"></td>
</tr>
<tr>
<td width="172" height="451"></td>
<td width="735" height="451"></td>
</tr>
</table>
</center>
</div>

</body>

</html>

1 réponse

Le grand LS
 
Salut,
Il te faut simplement ajouter la balise "form" entre le texte que tu veux recevoir.

Indique ton adresse e-mail comme indiqué dans ma remarque ci-dessous et tu recopies le tout ci-dessous direct. (j'ai mis les balises de début et de fin à toi de voir).




<html>

<head>
<base href="file:///C:/Users/joel/Desktop/Nouveau%20dossier/inscription.html">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>inscription aux sorties plongées</title>
<title>Formulaire d'inscription sortie</title>
<style type="text/css">
<!--
-->
</style>
<style> <!-- a{text-decoration:none} //--> </style>
<style> <!-- a:hover{text-decoration:underline;} --> </style>
</head>

<body background="file:///C:/Users/joel/Desktop/Club13/img/290.jpg">

<!-- Change pour mettre ton e-mail ci-dessous sans enlever le mot "mailto" -->
<form action="mailto:email@adresse.com" method="post">

<div align="center">
<center>
<table border="0" width="470" height="660">
<tr>
<td width="917" height="92" colspan="2" bgcolor="#FFFFFF"><img border="0" src="file:///C:/Users/joel/Desktop/Club13/img/102Anthias6%20a.jpg" width="761" height="277"></td>
</tr>
<tr>
<td width="917" height="25" colspan="2"></td>
</tr>
<tr>
<td width="917" height="42" colspan="2" style="color: #000000" bgcolor="#FFFFFF"><font size="3"><b><font face="Arial, Helvetica, sans-serif" color="#000000">
<u>Formulaire d'inscription aux sorties mer et fosses</u></font></b></font>
<table width="707" border="0" cellspacing="3" bgcolor="#FFFFFF">
<tr>
<td colspan="5" width="753">
<div align="left">
<b><font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF">Coordonnées</font></b>
</div>
</td>
</tr>
<tr>
<td width="77">
<div align="right">
<font face="Arial, Helvetica, sans-serif" size="2">Nom</font>
</div>
</td>
<td width="410"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="nom" maxlength="128" size="20"></font></td>
<td width="63"><font face="Arial, Helvetica, sans-serif" size="2">Prénom</font></td>
<td width="159"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="prenom" maxlength="128" size="20"></font></td>
<td width="12"><font face="Arial, Helvetica, sans-serif" size="2"> </font></td>
</tr>
<tr>
<td width="77">
<div align="right">
<font face="Arial, Helvetica, sans-serif" size="2">Émail</font>
</div>
</td>
<td width="410"><font face="Arial, Helvetica, sans-serif" size="2"><input type="text" name="email" maxlength="128" size="40"></font></td>
<td width="63"><font face="Arial, Helvetica, sans-serif" size="2">Club</font></td>
<td width="159"><font face="Arial, Helvetica, sans-serif" size="2"><select name="club" size="1" id="club" multiple>
<option selected>Les carangues</option>
<option selected>Autres</option>
</select></font></td>
<td width="12"> </td>
</tr>
<tr>
<td colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td colspan="5" width="753">
<div align="left">
<font face="Arial, Helvetica, sans-serif" size="3"><b><font color="#FFFFFF">Sortie</font></b></font>
</div>
</td>
</tr>
<tr>
<td width="77"><font face="Arial, Helvetica, sans-serif" size="2">Lieu
- date</font></td>
<td width="410"><font size="2" face="Arial, Helvetica, sans-serif"><select name="sortie" size="1" multiple>
<option selected>Cerbère le week end du 25/26 avril 2009</option>
<option selected>Les goudes le week end du 21/24 mai 2009</option>
<option selected>Banyuls le 10 juin 2009</option>
<option selected>Llafranc ou Port de la serva le week end du
13/14 juin 2009</option>
<option selected>Port-cros pour la sortie moniteurs 27/28 juin</option>
<option selected>fosse apnée</option>
<option selected>fosse plongeur</option>
</select></font></td>
<td width="63"><font size="2" face="Arial, Helvetica, sans-serif">Activité</font></td>
<td colspan="2" width="179"><font size="2" face="Arial, Helvetica, sans-serif"><select name="activite" size="1" multiple>
<option selected>Accompagnant</option>
<option selected>N1</option>
<option selected>N2</option>
<option selected>N3</option>
<option selected>N4</option>
<option selected>E2</option>
<option selected>MF1</option>
</select>
</font></td>
</tr>
<tr>
<td colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td colspan="5" width="753"><b><font size="3" face="Arial, Helvetica, sans-serif" color="#FFFFFF">Réservation
(matériel de votre club d'appartenance)</font></b></td>
</tr>
<tr>
<td width="77" height="10"><font face="Arial, Helvetica, sans-serif" size="2">
Hébergement</font></td>
<td height="10" width="410"><font face="Arial, Helvetica, sans-serif" size="2"><select name="hebergement" size="1" multiple>
<option selected>1 pers.</option>
<option selected>2 pers.</option>
<option selected>3 pers.</option>
<option selected>4 pers.</option>
<option selected>5 pers.</option>
<option selected>Non</option>
</select></font></td>
<td height="10" width="63"><font face="Arial, Helvetica, sans-serif" size="2">bouteille</font></td>
<td height="10" colspan="2" width="179"><font face="Arial, Helvetica, sans-serif" size="2"><select name="flotteur" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select> </font></td>
</tr>
<tr>
<td width="77" height="10"><font face="Arial, Helvetica, sans-serif" size="2">Gilet</font></td>
<td height="10" width="410"><font face="Arial, Helvetica, sans-serif" size="2"><select name="gilet" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select></font></td>
<td height="10" width="63"><font face="Arial, Helvetica, sans-serif" size="2">détendeur</font></td>
<td height="10" colspan="2" width="179"><font face="Arial, Helvetica, sans-serif" size="2"><select name="casque" size="1" multiple>
<option selected>club</option>
<option selected>perso</option>
</select></font></td>
</tr>
<tr>
<td height="20" colspan="5" width="753">
<hr>
</td>
</tr>
<tr>
<td height="20" valign="top" width="77"><font face="Arial, Helvetica, sans-serif" size="2">Notes
éventuelles, covoiturage...</font></td>
<td height="20" colspan="4" width="668"><textarea name="notes" cols="80" rows="1"></textarea><br>
<font size="2" face="Arial, Helvetica, sans-serif">Indiquez dans cette zone votre N° de licence ainsi que votre niveau de
plongeur.</font></td>
</tr>
<tr>
<td height="20" colspan="5" width="753">
<div align="left">
<input type="submit" name="valider" value="Valider l'inscription">
</div>
</td>
</tr>
</table>
<p><b><font face="Arial, Helvetica, sans-serif" size="3" color="#000000"> Votre inscription vous
sera confirmée par mail en fonction des disponibilités ( la capacité
d'encadrement
et sur le matériel disponible). Priorité basée sur l'ordre
d'inscription.</font></b></p>
<p></td>
</tr>
<tr>
<td width="917" height="39" colspan="2"></td>
</tr>
<tr>
<td width="172" height="451"></td>
<td width="735" height="451"></td>
</tr>
</table>
</center>
</div>


</form>


</body>

</html>
0
Le grand LS
 
essai
0
LES CARANGUES Messages postés 2 Date d'inscription   Statut Membre Dernière intervention  
 
slt
merci pour ton aide.
j'ai fait comme tu m'as dit, le mail et j'ai fait un copier coller sur une copie de ma page (j'ai conserver l'originale ailleurs sur mon pc).
comment vérifier que cela marche?
j'ai ouvert la page avec explorer,j'ai remplis les cases et cliquer sur valider, je n'ai rien reçu sur ma boite mail? dois je l'herberger sur mon serveur via mon site pour pouvoir recevoir les formulaires?
grand merci pour ta rapidité.
joel

</style>
<style> <!-- a{text-decoration:none} //--> </style>
<style> <!-- a:hover{text-decoration:underline;} --> </style>
</head>

<body background="file:///C:/Users/joel/Desktop/Club13/img/290.jpg">

<form action="mailto:email@adresse.com" method="post">

<div align="center">
<center>
<table border="0" width="470" height="660">
0
Le grand LS > LES CARANGUES Messages postés 2 Date d'inscription   Statut Membre Dernière intervention  
 
Si tu as bien mis les balise "form" et celle de fin </form> comme je t'ai dis, il ne doit pas avoir de problème. As-tu essayé en copiant la page que j'ai corrigée (après avoir mis ton adresse mail)?
Non tu n'es pas obligé de l'herberger sur ton serveur via ton site pour pouvoir recevoir les formulaires. Si tu cliques sur "envoyer" sur ta page, tu as, avec outlook, un message demandant si ton programme de messageries peut envoyer et tu cliques sur oui.
0