fazlionline Posted November 21, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
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.