|
Posted by Adrienne Boswell on 12/17/05 09:59
Gazing into my crystal ball I observed number1.email@gmail.com writing in
news:1134670737.442366.167480@g47g2000cwa.googlegroups.com:
> Hello,
>
> I have a simple Web Page Questionairre in which questions are read from
> a database, and the user can indicate the correct answer via either a
> radio input control or a dropdown list.
>
> The number of questions that is displayed on the screen can
> vary...depending on the number of questions that satisfy certain
> criteria.
>
> Does anyone have any sample code, or can show me how I can validate
> this Web Page in JavaScript so that the user is forced to "answer"
> every question on the form (whether it is a radio control or dropdown
> list).
>
> Thanks.
>
>
Not a good idea to rely on client side script to validate a form. Final
validation should be done server side. Yes, you can do client side
validation for the user's convience, but make sure that you always check on
the server.
As to your original question, Google is your friend
<http://www.google.com/search?
client=opera&rls=en&q=javascript+form+validation&ie=utf-8&oe=utf-8>
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
[Back to original message]
|