Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone check a page of code for me?

Status
Not open for further replies.
Hello Zolah,

It looks like the function to check the email address is not being called.

Instead of using a function submitIt(), put that block of code in the validForm() function.

validForm will check three things
1. that the password is not empty
2. that the two passwords match
3. that the email address is plausible

If all three are true then the form will be submitted.

Hope this helps,
Richard
 
rac2, I moved the submitIt function to the validForm, the paswword validation works, but itstill is not seeing the email protion. Would you please see if you can tell me where I am going wrong? Thank You

 
It is a final lesson for a javascript class.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top