In this branch, we work on the contact form validation:
🏁 The content of the email field has to be in lowercase.
🏁 When the user submits the form, you check if the email is in lowercase.
🏁 If the validation is OK, the form is sent.
🏁 If the validation is not OK, you show an error message to the user near the submit button informing them of the error, and the form is not sent.
🏁 When the form validation is not OK, we provide the user with their text converted to lowercase so they can use it directly in the input field.
In this branch, we work on the contact form validation:
🏁 The content of the email field has to be in lowercase. 🏁 When the user submits the form, you check if the email is in lowercase. 🏁 If the validation is OK, the form is sent. 🏁 If the validation is not OK, you show an error message to the user near the submit button informing them of the error, and the form is not sent. 🏁 When the form validation is not OK, we provide the user with their text converted to lowercase so they can use it directly in the input field.