I don't know very much yet and I'm looking to do some form validation on
20 form fields that accept numbers. I would like to alert the user if
the combined values of any of the fields is greater than 40 (It's a 40
point survey).
Should I loop thru all the form fields when they tab out of each one to
check this (onblur)? I'm thinking it might be nice to let them know how
far over they are in the alert as well.
Code snip appreciated.
Thanks,
Frank
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
20 form fields that accept numbers. I would like to alert the user if
the combined values of any of the fields is greater than 40 (It's a 40
point survey).
Should I loop thru all the form fields when they tab out of each one to
check this (onblur)? I'm thinking it might be nice to let them know how
far over they are in the alert as well.
Code snip appreciated.
Thanks,
Frank
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment