A simple sign up form with validations.
This is a simple form that takes in a first name, last name, phone number, email and date of birth. It validates each part of the form:
- First name and last name must be all letters
- Email must be formatted correctly
- Phone number must be a UK number and formatted correctly
- Age must be greater or equal to 18 years old
When submitted a confirmation modal pops up with the successfully submitted data.