From validation help needed!!! please help
Need a easily implemented javascript email (and form) validation and confirmation.
We have a couple forms that calls a cgi perl script action.
Need to have a javascript so that before the form is submitted to the cgi script it checks:
email is valid (at sign, period, 2 or 3 letter end, etc)
email is confirmed (either it calls up a popup that shows entered email and asks user if it is correct, or has the user enter it twice and compares)
required input items are entered (at least something, doesn't need to be validated)
After searching for preexisting scripts they do one of the above, but rarely all... or just too complicated to implement.
ACJavascripts posted this at 17:11 — 3rd March 2007.
He has: 11 posts
Joined: Feb 2007
can you link to or post your form.
Busy posted this at 03:47 — 5th March 2007.
He has: 6,151 posts
Joined: May 2001
What happens if javascript is disabled? (a common way around forms)
server side is a better choice for validation as it cant be turned off
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.