Question
I need my code to have if it is a valid email return the email address is valid, but no matter if its correct or
I need my code to have if it is a valid email return the email address is valid, but no matter if its correct or not says same message need help with that.
Part 3; validating form data: Create a new document called l5p3.html. It should have a form with a text input box for an email address and a Submit button. Submitting the form (either by clicking the button or pressing enter when the button has focus) should call a function that validates the email address. The function should use a regular expression to validate the email address and return true if valid, or use alert() to display an error message and return false if not.
If the function returns false, the form should not be submitted. Otherwise, submit the form to http://weblab.kennesaw.edu/formtest.php.
Here is the code:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started