fazlionline Posted November 21, 2009 Report Posted November 21, 2009 Two JavaScript functions assigned for one field I have a field ?Email?; the user enters his email for newsletter subscription. I want to validate this form. If the user presses the button without entering email, he should have an alert to enter his email. If he presses the button after given a wrong email, then he should have an alert to write the correct email. How can I have these two functions on one filed? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.