Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to script so that buttons and checkboxes are checked

Status
Not open for further replies.

joyceda59

Technical User
Apr 3, 2007
29
CA
Hi

I hav created a form that users can fill and submit. Some of the fields in the form hav radio buttons and checkboxes that users can select. Now, if a user makes some mistake filling the form, i want to form to tell the user he/she has made a mistake and i want the radio buttons to be checked to the value the had been inserted by the user before. I also want the values of the checkbox fields to be retained. Im not too good with this stuff. Plase help!

Thx
 
So the form is being served by an .asp webpage? I know in VBScript you can assign the checkbox to be check by default. But, to save setting previously entered by the user you would have to create a cookie.

Have you tried forum333 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top