Jump to content

bedomon

Members
  • Posts

    7
  • Joined

  • Last visited

bedomon's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. yes : formulaire = my form nameIs my script good????
  2. I hope you will find my error <form> <p> <fieldset> <legend>Coordonnées </legend> <label for="txtNomSociete" class="formlabel">Nom</label> <input type="text" name="NomSociete" id="nomSociete" class="normal" tabindex="0" /><br /> <label for="txtNomContact" class="formlabel">Contact </label> <input type="text" name="NomContact" id="nomContact" class="normal" tabindex="1" /><br /> <label for="txtAdresseSociete" class="formlabel">Adresse: </label> <textarea name="txtAreaAdresse" id="ndresseSociete" class="textArea" tabindex="2" wrap="virtual"></textarea><br /> <label for="txtCp" class="formlabel">Code postal: </label> <input type="text" name="cp" id="cp" class="codePostal" tabindex="3" /><br /> <label for="txtVille" class="formlabel">Ville:</label> <input type="text" name="ville" id="ville" class="normal" tabindex="4" /><br /> <label for="menuPays" class="formlabel">Pays :</label> <select name="menuPays" tabindex="5"> <option value="France" selected="selected">France</option> <option value="Dom-Tom">Dom-Tom</option> <option value="Belgique">Belgique</option> <option value="Espagne">Espagne</option> <option value="Suisse">Suisse</option> <option value="Allemagne">Allemagne</option> <option value="Autre">Autre...</option> </select> <input type="text" name="autrePays" id="Autre" class="autrePays" tabindex="6" /><br /> <label for="txtTelSociete" class="formlabel">Téléphone : </label> <input type="text" name="tel" id="tel" class="telFax" tabindex="7" /><br /> <label for="txtFaxSociete" class="formlabel">Fax :</label> <input type="text" name="fax" id="fax" /><br /> <label for="txtMail" class="formlabel">Email :</label> <input type="text" name="eMail" id="eMail" class="mail" tabindex="8"/><br /> <label for="txtSiteWeb" class="formlabel">Site web :</label> <input type="text" name="siteInternet" id="siteInternet" class="normal" tabindex="9"value="http://"/><br /> </fieldset> <fieldset> <legend>Précisez votre demande</legend> <label class="formlabel">Renseignements<input type="checkbox" name="chkRenseignement" checked="checked" id="chkRenseignements" class="checkbox"/></label><br /> <label class="formlabel">Devis<input type="checkbox" name="chkDevis" id="chkDevis" class="checkbox" /></label><br /> <label class="formlabel">Rendez-vous<input type="checkbox" name="chkrdv" id="chkRdv" class="checkbox" /></label><br /> <label for="txtQuestion" class="formlabel">Commentaires :</label> <textarea name="txtAreaCommentaire" id="commentaire" class="textArea" tabindex="10" wrapping="virtual"> </textarea><br /> </fieldset> <div class="formlabel"> </div> <input type="submit" name="btnEnvoyer" value="Envoyer" tabindex="11" align="right" /> </p></form>
  3. hi allI have this script to check if the email is valid but it don't work :var arobase = document.formulaire.indexOf("@");var point = document.formulaire.lastIndexOf(".");var espace = document.formulaire.indexOf(" "); if (!((arobase != -1) && (arobase != 0) && (point != -1) && (point > arobase +1) && (point < document.formulaire.getElementById("eMail").length - 1) && (espace == -1))) { return false; }
  4. after a little change all textfield work with tabindex. but the order of the tabindex is not the order i have choose??? why ???
  5. hi all,I have put for each textfield in a form a tabindex. When I press on tab button there is only 2 textfield who work ??? is there an another solution ??? or something better than tabindex???I hope you understand my problem...thanks...
  6. HI allI want to wrap the text in a textarea, but it don't work and when the text arrive on the right a scrollbarin internet explorer it work fine but with firefox it don't work <label for="txtQuestion" class="formlabel">Que voulez-vous savoir ? :</label> <textarea name="textarea" cols="25" rows="3" id="txtQuestion" wrapping="virtual"> </textarea> someone can help methanks...
×
×
  • Create New...