Créer un compte
Connexion

Formulaire PHP

Pour créer et répondre aux sujets, vous devez être connecté.
Pages: 1
Auteur Message
artchat17
22/10/2011 à 03:45:59
artchat17
Membre
J'ai créé un formulaire pour une association. Certains membres n'arrivent pas à bien le visualiser, ils ne voient que la moitié et ne peuvent le remplir correctement, pouvez-vous m'indiquer où est l'erreur? Voici le code source de la page.

Merci
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Inscription</title>
<link href="twoColFixLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
<style type="text/css">
/* placer les corrections pour le modèle de boîte css pour IE 5.x dans ce commentaire conditionnel */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* placer les corrections pour toutes les version d'IE dans ce commentaire conditionnel */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* la propriété propriétaire zoom ci-dessus transmet à IE l'attribut hasLayout nécessaire pour éviter plusieurs bogues */
</style>
<![endif]-->
<style type="text/css">
<!--
a:link {
        text-decoration: none;
}
a:visited {
        text-decoration: none;
}
a:hover {
        text-decoration: none;
}
a:active {
        text-decoration: none;
}
.texte {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11pt;
        font-style: normal;
        line-height: 14pt;
        margin-right: 20px;
}
.Style10 {font-size: 2px}
.Style11 {font-size: 12px}
.Style7 {font-size: 12pt}
.Style9 {font-size: 9pt}
.texte1 {       font-family: Geneva, Arial, Helvetica, sans-serif;
        font-size: 12pt;
        line-height: 16pt;
        color: #000000;
        background-color: #FFFFFF;
}
.rouge {        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #C00;
}
.titre {        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color: #000;
}
.formulaire2 {font-family: Geneva, Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-style: normal;
        width: 800px;
        border-left: -20px;
        border-right: -20px;
}
.formulaire2 {font-family: Arial, Helvetica, sans-serif;
        font-size: 10pt;
        font-style: normal;
        font-weight: normal;
        text-transform: lowercase;
}
.rouge1 {       font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #C00;
}
.texte11 {      font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10pt;
        font-style: normal;
        line-height: 14pt;
        margin-right: 20px;
        color: #000;
        text-transform: none;
}
.titre1 {       font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color: #000;
        text-transform: none;
}
.titre11 {font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #000;
}
.rouge2 {       font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #C00;
}
.titre2 {       font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color: #000;
}
-->
</style></head>

<body class="twoColFixLtHdr">

<div id="container">
  <div id="header">
    <h1><img src="Titres/BANNIERE.jpg" width="720" height="127" /></h1>
    <p align="center"><span class="titre1">FORMULAIRE D'INSCRIPTION</span></p>
  <!-- fin de #header --></div>
  <p align="center" class="titre1">32e Salon de l'automne -  16 novembre au 26 novembre 2011</p>
  <p align="center" class="titre1"><strong>EXPOSITION TRADITIONNELLE</strong><span class="texte11"><strong><br />
    </strong></span><span class="Style7"><span class="formulaire2">Oeuvres encadr&eacute;es (max. 16 x 20 po.)<br />
      <strong>Frais d&rsquo;inscription:  15$ </strong></span></span></p>
  <p align="center" style="margin:0px;"></p>
  <!-- Dirige l'information pour qu'elle soit trait?e par le fichier envform.php -->
  <!-- Cet élément de suppression doit suivre immédiatement l'élément div #mainContent afin de forcer l'élément div #container à contenir tous les éléments flottants enfants -->
  <table align="center">
    <tr>
      <td height="495" align="center"><p align="center" style="margin:0px;"></p>
        <!-- Dirige l'information pour qu'elle soit trait?e par le fichier envform.php -->
        <form action="http://pages-web.com/scripts/envform.php" method="post" name="Formulaire" id="Formulaire">
          <!-- TON ADDRESSE -->
          <input name="recipient" value="info@artistesdelasalle.org" type="hidden" />
          <!-- FAIRE LA PAGE DE CONFIRMATION Ë L'ADDRESSE SUVANTE -->
          <input name="redirect" value="http://www.artistesdelasalle.org/confirmation.html" type="hidden" />
          <!-- Les champs obligatoires pour envoyer le formulaire -->
          <input name="required" value="Nom,Pr?nom,T?l?phone, email" type="hidden" />
          <!-- Champs du formulaire (? adapter selon vos besoins) -->
          <!-- Texte -->
          <input name="Document" type="hidden" value="FORMULAIRE D'INSCRIPTION" />
          <input name="Sujet" type="hidden" value="26e Salon du Printemps" />
          <input name="====DE_====================" type="hidden" value=" " />
          <table align="left">
            <tr>
              <td class="titre2"> Nom: </td>
              <td><input name="Nom" size="40" maxlength="60" type="text" /></td>
            </tr>
            <tr>
              <td class="titre2">Pr&eacute;nom:</td>
              <td><input name="Pr?nom" size="40" maxlength="60" type="text" /></td>
            </tr>
            <tr>
              <td class="titre2">T&eacute;l&eacute;phone:</td>
              <td><input name="T?l?phone" size="30" maxlength="60" type="text" /></td>
            </tr>
            <tr>
              <td class="titre2"> Courriel:</td>
              <td><input name="email" size="30" maxlength="60" type="text" /></td>
            </tr>
          </table>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>
            <input name="====OEUVRE_1===============" type="hidden" value=" " />
            <br />
            <br />
          </p>
          <table align="center">
            <tr class="titre2">
              <td align="center"> Titre </td>
              <td align="center"> M&eacute;dium </td>
              <td align="center"> Grandeur (en pouces) </td>
              <td align="center"> Prix </td>
            </tr>
            <tr>
              <td align="center" valign="top"><span class="titre2">1</span>
                <textarea name="Titre Oeuvre 1"></textarea></td>
              <td align="center"><input name="Medium Oeuvre 1" type="text" size="40" /></td>
              <td align="center"><input name="Grandeur Oeuvre 1" type="text" size="8" /></td>
              <td align="center"><input name="Prix Oeuvre 1" type="text" size="8" />
                <input name="====OEUVRE_2===============" type="hidden" value=" " /></td>
            </tr>
            <tr>
              <td align="center" valign="top"><span class="titre2">2</span>
                <textarea name="Titre Oeuvre 2"></textarea></td>
              <td align="center"><input name="Medium Oeuvre 2" type="text" size="40" /></td>
              <td align="center"><input name="Grandeur Oeuvre 2" type="text" size="8" /></td>
              <td align="center"><input name="Prix Oeuvre 2" type="text" size="8" />
                <input name="====OEUVRE_3===============" type="hidden" value=" " /></td>
            </tr>
            <tr>
              <td align="center" valign="top"><span class="titre2">3</span>
                <textarea name="Titre_Oeuvre3"></textarea></td>
              <td align="center"><input name="Medium Oeuvre 3" type="text" size="40" /></td>
              <td align="center"><input name="Grandeur Oeuvre 3" type="text" size="8" /></td>
              <td align="center"><input name="Prix Oeuvre 3" type="text" size="8" />
                <input name="===========================" type="hidden" value=" " /></td>
            </tr>
          </table>
          <span class="titre2">SVP imprimer avant de cliquer sur ENVOYER</span><br />
          <!-- Bouton d'envoi du formulaire -->
          <input name="SUBMIT" value=" Envoyer " type="submit" />
          <input type="reset" name="Submit2" value="Réinitialiser" />
          </br>
          <p><span class="texte11" style="font-family: Arial, Helvetica, sans-serif"><strong>Les informations doivent &ecirc;tre d&eacute;finitives et aucun changement ne sera accept&eacute;<br />
apr&egrave;s le 1er novembre 2011 </strong></span><span class="texte11"><span class="rouge1"><br class="titre11" />
N'oubliez pas <strong>d'imprimer</strong> votre formulaire et de le remettre <strong>dans une enveloppe</strong> <br />
avec votre montant de 15 $ au moment du d&eacute;p&ocirc;t des oeuvres.</span></span></p>
</form>
        <!-- Fin du formulaire --></td>
    </tr>
  </table>
  <br class="clearfloat" />
  <div id="footer">
    <p>Conception du site: Denise Faucher</p>
  <!-- fin de #footer --></div>
<!-- fin de #container --></div>
</body>
</html>


Spitfire 95
20/10/2011 à 19:33:22
Spitfire 95
Membre
Oula...
Primo met le code entre les balises code html sinon c'est illisible.
Secondo passe nous l'URL de ta page ça peut aider.
Merci :)

Spitfire 95
22/10/2011 à 18:49:43
Spitfire 95
Membre
Niveau sémantique ça passe. C'est pas parfait mais les erreurs de justifient pas ce problème.
Serait-il possible d'avoir une capture d'écran du bug, ou au moins savoir où ça se bloque ? Un lien vers la page concernée pour voir en situation si on arrive à avoir ce problème ?
Savez vous quel navigateur utilisent ceux qui ne peuvent pas afficher totalement le formulaire ?
Merci.

Jon28
24/11/2011 à 23:38:34
Jon28
Membre
SALUT ET Spitfire 95 J'AI DE LA MISÈRE AVEC MON PHP DU FORMULAIRE !!
SE LUI DE YBOUNE LA POUR TEMPS JE LE RENTRE CORRECTEMENT ET SA ME FAIS UN TEXTE ERREUR ????? JE MET CORRECTEMENT MON MAIL


\n"; $headers .= "Reply-To: ".$email."\n"; $headers .= "Content-Type: text/plain; charset=\"iso-8859-1\""; if(mail($destinataire,$sujet,$message,$headers)) { echo "Votre message a bien été envoyé."; } else { echo "Une erreur c'est produite lors de l'envois du message."; } } else { echo "L'email que vous avez entré est invalide."; } } else { ?>


http://jonathandelarochelle.zikle.fr/start

Pages: 1