The title seems easy, but I need help.
I have a form with a field input \"email\" of which value is null until the user fills it up. Okay, on click of the submit button,
Try this email.value = 'Insert a correct email'; instead of email.setAttribute('value','Insert a correct email');
email.value = 'Insert a correct email';
email.setAttribute('value','Insert a correct email');