In this lab, you will work with a GUI to validate the input in each text field . Below is a screenshot of the running program.

There are 2 versions of this assignment : I Non-Loop Version and II . Loop Version
I. Non Loop Version
Validate Form Non loop-version
- .Email
- Must include an “@”
- Must include a “.”
- the “.” must come after the “@”
- Must have characters after the “.”
- Phone
- XXX-XXX-XXXX
- where each”X” must be an integer value
- each “-” must be in the correct location
- Date of Birth
- Max age is 110
- Minimum accepted age is 18
- If the user is less than 18, display the message. “Sorry you must at least 18 years of age for this service”
- Zip Code
- Length between 3 and 5 , inclusive
- Password
- take a substring of the email address. Starting with the first character and ending before the “@”.
- Ensure that that substring is not part of the password

II. Loop Version
Validate Form Loop Version
- .Email
- Must include an “@”
- Must include a “.”
- the “.” must come after the “@”
- Phone
- XXX-XXX-XXXX
- where each”X” must be an integer value
- each “-” must be in the correct location
- Date of Birth
- Max age is 110
- Minimum accepted age is 18
- If the user is less than 18, display the message. “Sorry you must at least 18 years of age for this service”
- Zip Code
- Each character must be an integer
- Length between 3 and 5 , inclusive

A file that does a few test cases (be careful not to overwrite your work)