[thelist] Stopping Form Submission when Enter is hit
Shashank Tripathi
sub at shanx.com
Wed Jul 18 08:45:40 CDT 2001
Darren,
In the form's "onSubmit()" function, call a function called, say,
"checkEntries()". In this function, if required info is not entered, then
"return false". This prevents the form from being submitted.
Hope thie helps,
Shanx
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.264 / Virus Database: 136 - Release Date: 02-Jul-01
More information about the thelist
mailing list