IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JavaScript Discussion :

controle d'un champs obligatoirement un chiffre [Fait]


Sujet :

JavaScript

  1. #1
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut controle d'un champs obligatoirement un chiffre
    bonjour
    je souhaiterais contrôler des champs qui doivent etre obligatoirement des chiffres tels que le code postal , le numero de telephone...

    merci pour votre aide..

  2. #2
    Invité
    Invité(e)
    Par défaut


    y a ça un peu partout sur le net.

    est ton ami
    Dernière modification par Domi2 ; 04/05/2011 à 16h47.

  3. #3
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    merci
    mais sur le net ya beaucoup de code qui ne marche pas donc voila pourquoi je viens sur le forum

  4. #4
    Expert confirmé
    Avatar de siddh
    Inscrit en
    Novembre 2005
    Messages
    3 868
    Détails du profil
    Informations personnelles :
    Âge : 48

    Informations forums :
    Inscription : Novembre 2005
    Messages : 3 868
    Points : 5 011
    Points
    5 011
    Par défaut
    http://javascript.developpez.com/faq...ipt#EntierSup0



    apres tu peux aussi tester le length de la chaine pour bien vérifier que le cp fasse 5 de long par exemple

  5. #5
    Expert confirmé
    Avatar de javatwister
    Homme Profil pro
    danseur
    Inscrit en
    Août 2003
    Messages
    3 681
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Calvados (Basse Normandie)

    Informations professionnelles :
    Activité : danseur

    Informations forums :
    Inscription : Août 2003
    Messages : 3 681
    Points : 5 221
    Points
    5 221
    Par défaut
    autre exemple, pour un téléphone 10 chiffres

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    if(!/^\d{10}/$.test(valeur_du_champ)){
    alert("numéro de téléphone incorrect");
    return false
    }

  6. #6
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    merci pour vos reponses
    j'ai mis ceci :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
     
    if(!/^\d{10}/$.test(tel)){ 
    alert("numéro de téléphone incorrect"); 
    return false 
    }
    et le code en entier :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
     
    function testvalidation()
    {
    if(document.formSIC.tel.value == "")
    {
    alert ('veuillez entrer votre numero de telephone');
    document.formSIC.tel.focus();
    return false;
    }
     
    if(!/^\d{10}/$.test(tel))
    {
    alert("numéro de téléphone incorrect"); 
    document.formSIC.tel.focus();
    return false;
    }
     
    else {return true;}
    }
     
    </SCRIPT>
     
    <html>
    ....
     
    <form name="formSIC" action="StagiaireInscriptionCentre.php" method="post" onSubmit="[b][u]return testvalidation()">[/u][/b]
     
    <td width="46%" colspan="2" bordercolor="#FFFFFF">
                <p align="right"><font size="2">Téléphone<font color="#FF0000"><sup>*</sup></font></font></p>
              </td>
              <td width="58%" colspan="2" bordercolor="#FFFFFF"><font size="2">
              <input type="text" [u][b]name="tel[/b][/u]" size="10" maxlength="10"></font></td>
            </tr>
          </table>
        </td>
    mais ça ne marche pas...

  7. #7
    Expert confirmé
    Avatar de siddh
    Inscrit en
    Novembre 2005
    Messages
    3 868
    Détails du profil
    Informations personnelles :
    Âge : 48

    Informations forums :
    Inscription : Novembre 2005
    Messages : 3 868
    Points : 5 011
    Points
    5 011
    Par défaut
    il me semble que ie a des problèmes avec cette syntaxe et qu'il faut passer par un new RegExp et ne pas mettre les /

  8. #8
    Expert éminent
    Avatar de Séb.
    Profil pro
    Inscrit en
    Mars 2005
    Messages
    5 201
    Détails du profil
    Informations personnelles :
    Âge : 46
    Localisation : France

    Informations professionnelles :
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mars 2005
    Messages : 5 201
    Points : 8 426
    Points
    8 426
    Billets dans le blog
    17
    Par défaut
    Citation Envoyé par javatwister
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    if(!/^\d{10}/$.test(valeur_du_champ)){
    alert("numéro de téléphone incorrect");
    return false
    }
    Atttention y'a une coquille, il faut écrire :

    Le $ était mal placé
    Ton erreur vient pe de là oceane.

  9. #9
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    huumm
    et bien mon code m'averti bien quand le champs telephone est vide, mais après lorsque je met, par exemple, "014222" il ne m'averti pas que le "numero est incorrecte"
    il me conduit directemtn à la page suivante, alors que mon formulaire n'est pas terminé d'etre rempli et que d'autre contrôles de saisie viennent ensuite, dans ce même formulaire.
    en faites il se bloque à ce bout de code
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    if(!/^\d{10}$/.test(tel))
    {
    alert("numéro de téléphone incorrect"); 
    document.formSIC.tel.focus();
    return false 
    }
    et ça ne fait plus attention au reste des contrôles...

  10. #10
    Expert confirmé
    Avatar de siddh
    Inscrit en
    Novembre 2005
    Messages
    3 868
    Détails du profil
    Informations personnelles :
    Âge : 48

    Informations forums :
    Inscription : Novembre 2005
    Messages : 3 868
    Points : 5 011
    Points
    5 011
    Par défaut
    essayes :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    reg = new RegExp("^\d{10}$");
    if(!tel.match(reg))

  11. #11
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    je vous laisse tout mon code, ça pourra peut etre vous aidez à mieux m'aider...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
     
     <html>
     <head>
     
     <SCRIPT language="javascript">
     
    function testvalidation()
    {
     
    //forcer pour avoir que des chiffres
     
    if(document.formSIC.numero.value == "")
    {
    alert ('veuillez entrer votre numero dadresse');
    document.formSIC.numero.focus();
    return false;
    }
     
     
    if(document.formSIC.adresse.value == "")
    {
    alert ('veuillez entrer votre adresse');
    document.formSIC.adresse.focus();
    return false;
    }
     
     
    // forcer pour avoir un nombres à 5 chiffres
    if(document.formSIC.cp.value == "")
    {
    alert ('veuillez entrer votre code postal');
    document.formSIC.cp.focus();
    return false;
    }
     
    if(document.formSIC.ville.value == "")
    {
    alert ('veuillez entrer votre ville');
    document.formSIC.ville.focus();
    return false;
    }
     
    // forcer pour avoir un nombres à 10 chiffres
    if(document.formSIC.tel.value == "")
    {
    alert ('veuillez entrer votre numero de telephone');
    document.formSIC.tel.focus();
    return false;
    }
     
    if(!/^\d{10}$/.test(tel))
    {
    alert("numéro de téléphone incorrect"); 
    document.formSIC.tel.focus();
    return false 
    }
     
    //forcer  pour avoir un adresse mail valide avec "@" et " . "
    if(document.formSIC.mail.value == "")
    {
    alert ('veuillez entrer votre adresse mail');
    document.formSIC.mail.focus();
    return false;
    }
     
    if(document.formSIC.mail.value.indexOf('@') == -1)
    {
       alert("Ce n'est pas une adresse électronique!");
       document.formSIC.mail.focus();
       return false;
      }
     
     
     
    else {return true;}
    }
     
    </SCRIPT>
     
     
     
     
    <title>Stagiaire </title>
     
    </head>
    </html>
     
     
    <?php
    session_start();
    require("m_fonctions_utiles.php");
    require("codes_oracle.php");
     
     
    m_Sql_Connect_Oracle(SERVEUR_ORACLE, UTILISATEUR_ORACLE, MOTDEPASSE_ORACLE, NOMBASE_ORACLE);
     
    $sql_pays="select * from tb_pays";
    $req_pays=m_Sql_Query_Oracle($sql_pays);
     
    $sql_france="select id_pays from tb_pays where nom_pays='france'";
    $req_france=m_Sql_Query_Oracle($sql_france);
    $res_france= m_Sql_LigneRs_Oracle($req_france);
     
    ?>
     
    <html>
     
    <head>
    <title>Inscription Stagiaire</title>
    <script language="JavaScript" src="Verification.js"></script>
    </head>
     
    <body>
     
     
     
    <form enctype="multipart/form-data" name="formSIC" action="StagiaireInscriptionCentre.php" method="post" onSubmit="return testvalidation()">
    <table border="0" width="100%" height="1">
      <tr>
        <td width="73%" height="1" colspan="2">
          <p align="center"><b><font size="6">Coordonnées</font></b></p>
        </td>
        <td width="24%" height="48">&nbsp;</td>
      </tr>
      <tr>
        <td width="16%" height="122" colspan="2">
          <table border="0" width="100%">
            <tr>
              <td width="100%" colspan="4" bgcolor="#CCCCCC"><b><font size="2">Adresse principale</font></b></td>
            </tr>
            <tr>
              <td width="22%" align="right" bordercolor="#FFFFFF"><font size="2">N°<font color="#FF0000"><sup>*</sup></font> </font> </td>
              <td width="9%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="numero" size="10"></font></td>
              <td width="13%" align="right" bordercolor="#FFFFFF"><font size="2">Adresse<font color="#FF0000"><sup>*</sup></font></font></td>
              <td width="60%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="adresse" size="30"></font></td>
            </tr>
            <tr>
              <td width="22%" align="right" bordercolor="#FFFFFF"><font size="2">code postal<font color="#FF0000"><sup>*</sup></font></font></td>
              <td width="9%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="cp" size="10"  maxlength="5" ></font></td>
              <td width="13%" align="right" bordercolor="#FFFFFF"><font size="2">Ville<font color="#FF0000"><sup>*</sup></font></font></td>
              <td width="60%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="ville" size="30"></font></td>
            </tr>
     
            <tr>
              <td width="46%" colspan="2" bordercolor="#FFFFFF">
                <p align="right"><font size="2">Pays <font color="#FF0000"><sup>*</sup></font></font></p>
              </td>
              <td width="58%" colspan="2" bordercolor="#FFFFFF">
                <font size="2">
                <select name="id_pays" size="1">
     
              <? 
              while($res_pays= m_Sql_LigneRs_Oracle($req_pays))
              {
              echo "<option value='".$res_pays['ID_PAYS']."'";
    		  if($res_pays['ID_PAYS']==$res_france['ID_PAYS']) echo "selected";
    	  echo ">".ucwords(strtolower($res_pays['NOM_PAYS']));
              }
              m_Sql_Close_rs_Oracle($req_pays); 
              m_Sql_Close_rs_Oracle($req_france);?>
              </select>
     
                </font>
              </td>
            </tr>
     
            <tr>
              <td width="46%" colspan="2" bordercolor="#FFFFFF">
                <p align="right"><font size="2">Téléphone<font color="#FF0000"><sup>*</sup></font></font></p>
              </td>
              <td width="58%" colspan="2" bordercolor="#FFFFFF"><font size="2">
              <input type="text" name="tel" size="10" maxlength="10"></font></td>
            </tr>
          </table>
        </td>
        <td width="24%" height="16"></td>
      </tr>
      <tr>
        <td width="16%" height="74" colspan="2">
          <table border="0" width="100%">
            <tr>
              <td width="100%" colspan="4" bgcolor="#CCCCCC"><b><font size="2">Adresse secondaire</font></b></td>
            </tr>
            <tr>
              <td width="25%" align="right" bordercolor="#FFFFFF"><font size="2">N°</font></td>
              <td width="14%" bordercolor="#FFFFFF"><font size="2"><input type="text" size="10" name="numero2"></font></td>
              <td width="9%" align="right" bordercolor="#FFFFFF"><font size="2">Adresse</font></td>
              <td width="52%" bordercolor="#FFFFFF"><font size="2"><input type="text" size="30" name="adresse2"></font></td>
            </tr>
            <tr>
              <td width="25%" align="right" bordercolor="#FFFFFF"><font size="2">Code Postal</font></td>
              <td width="14%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="cp2" size="10"></font></td>
              <td width="9%" align="right" bordercolor="#FFFFFF"><font size="2">Ville</font></td>
              <td width="52%" bordercolor="#FFFFFF"><font size="2"><input type="text" size="30" name="ville2"></font></td>
            </tr>
                    <tr>
              <td width="46%" colspan="2" bordercolor="#FFFFFF">
                <p align="right"><font size="2">Pays</font></p>
              </td>
              <td width="58%" colspan="2" bordercolor="#FFFFFF">
               <font size="2">
               <select name="id_pays2" size="1">
    	  <option value="" selected>-------------choix pays-------------</option>
              <?
              $sql_pays="select * from tb_pays";
              $req_pays=m_Sql_Query_Oracle($sql_pays);
              while($res_pays= m_Sql_LigneRs_Oracle($req_pays))
              {
              echo "<option value=".$res_pays['ID_PAYS'].">".ucwords(strtolower($res_pays['NOM_PAYS']));
              }
              m_Sql_Close_rs_Oracle($req_pays);
              m_Sql_Close_cnx_Oracle();
              ?>
              </select></font></td>
            </tr>
            <tr>
              <td width="39%" colspan="2" bordercolor="#FFFFFF">
                <p align="right"><font size="2">Téléphone</font></p>
              </td>
              <td width="61%" colspan="2" bordercolor="#FFFFFF"><font size="2"><input type="text" name="tel2" size="10" maxlength="10"></font></td>
            </tr>
          </table>
        </td>
        <td width="24%" height="133"></td>
      </tr>
      <tr>
        <td width="16%" height="19" colspan="2">
          <table border="0" width="100%">
            <tr>
              <td width="100%" colspan="2" bgcolor="#CCCCCC"><b><font size="2">Correspondance</font></b></td>
            </tr>
            <tr>
              <td width="39%" align="right" bordercolor="#FFFFFF"><font size="2">Fax</font></td>
              <td width="61%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="fax" size="10" maxlength="10" ></font></td>
            </tr>
            <tr>
              <td width="39%" align="right" bordercolor="#FFFFFF"><font size="2">Mail<font color="#FF0000"><sup>*</sup></font></font></td>
              <td width="61%" bordercolor="#FFFFFF"><font size="2"><input type="text" name="mail" size="30"></font></td>
            </tr>
          </table>
        </td>
        <td width="24%" height="78"></td>
      </tr>
      <tr>
        <td width="16%" height="1" colspan="2">
          <p align="center"><sup><font color="#FF0000" size="2">* champs à remplir
          obligatoirement</font></sup></td>
        <td width="24%" height="1"></td>
      </tr>
      <tr>
        <td width="16%" height="1" colspan="2">
          <p align="right"><img border="0" src="images/trait.jpg" width="530" height="7"></td>
        <td width="24%" height="1"></td>
      </tr>
      <tr>
        <td width="8%" height="1">
          <p align="right"><input type="reset" value="effacer" ></p>
        </td>
        <td width="10%" height="1"><input type="submit" value="étape suivante" ></td>
        <td width="24%" height="43"></td>
      </tr>
    </table>
     
    </body>
    </html>
    </form>
    ps : c'est un peu le boxon mais je travaille sur un projet qui a été réalisé par quelqu'un d'autre..

  12. #12
    Expert éminent
    Avatar de Séb.
    Profil pro
    Inscrit en
    Mars 2005
    Messages
    5 201
    Détails du profil
    Informations personnelles :
    Âge : 46
    Localisation : France

    Informations professionnelles :
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mars 2005
    Messages : 5 201
    Points : 8 426
    Points
    8 426
    Billets dans le blog
    17
    Par défaut
    RegExp::test( ) attend une chaîne de caractères, il faudrait faire :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /[...]/.test(document.tonForm.tonChamp.value)

  13. #13
    Expert confirmé
    Avatar de siddh
    Inscrit en
    Novembre 2005
    Messages
    3 868
    Détails du profil
    Informations personnelles :
    Âge : 48

    Informations forums :
    Inscription : Novembre 2005
    Messages : 3 868
    Points : 5 011
    Points
    5 011
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    reg = new RegExp("^\d{10}$");
    if(!document.formSIC.tel.value.match(reg))
    ou (mais j'ai un doute pour ie)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /^\d{10}$/.test(document.formSIC.tel.value)

  14. #14
    Expert éminent
    Avatar de Séb.
    Profil pro
    Inscrit en
    Mars 2005
    Messages
    5 201
    Détails du profil
    Informations personnelles :
    Âge : 46
    Localisation : France

    Informations professionnelles :
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mars 2005
    Messages : 5 201
    Points : 8 426
    Points
    8 426
    Billets dans le blog
    17
    Par défaut
    RegExp::test( ) fonctionne sous IE6, je ne sais pas pour les versions plus anciennes.

  15. #15
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    lol moi ça a l'air d'etre une vieille version à mon taf!!

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    if(!/^\d{10}$/.test(document.formSIC.tel.value))
    {
    alert("numéro de téléphone incorrect"); 
    document.formSIC.tel.focus();
    return false 
    }
    mais quand je ne rentre aucun chiffre, il me dit bien : "veuillez entrer votre numero de telephone"

    ensuite que je mette "014222" ou "0142225896" ou "01" il me dit toujours la même erreur soit : "numéro de téléphone incorrect"

    c'est de la folie

  16. #16
    Expert confirmé
    Avatar de siddh
    Inscrit en
    Novembre 2005
    Messages
    3 868
    Détails du profil
    Informations personnelles :
    Âge : 48

    Informations forums :
    Inscription : Novembre 2005
    Messages : 3 868
    Points : 5 011
    Points
    5 011
    Par défaut
    moi ie6 me dis rien pour :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    if(!/^\d{10}$/.test("1234567890"))
    {
    alert("numéro de téléphone incorrect");
     
    }
    donc soit c est peut etre ta version d ie

  17. #17
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    non non c'est ok ça marche

  18. #18
    Expert confirmé
    Avatar de javatwister
    Homme Profil pro
    danseur
    Inscrit en
    Août 2003
    Messages
    3 681
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Calvados (Basse Normandie)

    Informations professionnelles :
    Activité : danseur

    Informations forums :
    Inscription : Août 2003
    Messages : 3 681
    Points : 5 221
    Points
    5 221
    Par défaut
    bah oui que ça marche!

    si t'es moins distraite que moi

  19. #19
    Membre confirmé Avatar de oceane751
    Profil pro
    Intégrateur Web
    Inscrit en
    Novembre 2004
    Messages
    1 280
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Intégrateur Web

    Informations forums :
    Inscription : Novembre 2004
    Messages : 1 280
    Points : 575
    Points
    575
    Par défaut
    ouais j'avais mal effacé un bout de code lol

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. IE pour controle champ obligatoire de genre input text
    Par lolymeupy dans le forum Général JavaScript
    Réponses: 10
    Dernier message: 30/05/2008, 15h28
  2. Réponses: 5
    Dernier message: 25/10/2005, 16h05
  3. Champs obligatoires dans un formulaire
    Par glloq8 dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 30/09/2005, 16h24
  4. Test si champs obligatoires remplis
    Par michaelbob dans le forum Général JavaScript
    Réponses: 5
    Dernier message: 21/09/2005, 14h20
  5. Champs obligatoires
    Par JustMe dans le forum Bases de données
    Réponses: 15
    Dernier message: 18/11/2004, 20h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo