Skip to content
Snippets Groups Projects
Commit b3571731 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

valide != isValid

parent e263bd2d
Branches
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['recaptcha_response'])
}
function sendFormData(){
if($("#registerForm").isValid()){
if($("#registerForm").valid()){
console.log("Formulaire validé");
}else{
console.log("Formulaire invalide");
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment