+ 1
Formvalidation is not working.what's wrong in my code
2 odpowiedzi
+ 1
Add event parameter to your function call and definition then prevent the default behavior of submission
onsubmit="formvalidation(event)"
formvalidation(event){
event.preventDefault();
}
+ 1
Your input type says 'username' it should say 'text'