diff --git a/Js/fonctions.js b/Js/fonctions.js index 64cbbad4..202247c6 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -37039,13 +37039,16 @@ function creer_user_gc() { // Validations (simplifiées pour la lecture) if (nom <= " ") { alert_ebene("Indiquez le nom!", "Enter the name!"); $("#nom").focus(); return; } + if (codeLangue <= " ") { alert_ebene("Indiquez la langue!", "Enter the language!"); $("#codeLangueUser").focus(); return; } + if (telephone <= " ") { alert_ebene("Indiquez le téléphone!", "Enter the phone!"); $("#telephone").focus(); return; } + if (email <= " " || !verifMailValeur(email)) { alert_ebene("Email incorrect!", "Review email!"); $("#email").focus(); return; } - if (nom <= " ") { alert_ebene("Indiquez le nom!", "Enter the name!"); $("#nom").focus(); return; } - if (nom <= " ") { alert_ebene("Indiquez le nom!", "Enter the name!"); $("#nom").focus(); return; } - if (nom <= " ") { alert_ebene("Indiquez le nom!", "Enter the name!"); $("#nom").focus(); return; } + + if (actVisible <= " ") { alert_ebene("Indiquez la visibilité des libellés des actes!", "Indicate the visibility of the act labels!"); $("#actVisibleUser").focus(); return; } + if (AffectionVisible <= " ") { alert_ebene("Indiquez la visibilité des libellés des affections!", "Indicate the visibility of the affection labels!"); $("#AffectionVisibleUser").focus(); return; } if (codeUtilisateur <= " ") { alert_ebene("Indiquez le login!", "Enter the login!"); $("#codeUtilisateur").focus(); return; } - if (email <= " " || !verifMailValeur(email)) { alert_ebene("Email incorrect!", "Review email!"); $("#email").focus(); return; } + // Validation MDP si mode manuel if (codeModeGenerationPass == "0") { diff --git a/Vue/Creerusergc/index.php b/Vue/Creerusergc/index.php index 22a505cb..72c28917 100755 --- a/Vue/Creerusergc/index.php +++ b/Vue/Creerusergc/index.php @@ -92,15 +92,15 @@ onChange="this.value=supprimer_espace_string(this.value);" required placeholder="ex: skone">