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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORM - reset button not working for checkboxes

Status
Not open for further replies.

vjh

Technical User
Dec 14, 2002
46
CA
Hi all,

I have a form that is used to query a db. It has text boxes, drop-downs and checkboxes. All is working well except for the checkboxes.

When I use my reset button, it apparently clears the checkbox. (The check goes away.) Unfortunately, it still sends the value (from the value attribute) to my search script.

The same thing happens when a user manually unchecks the box.

What am I doing wrong???

... vj
 
sounds like it may be a cache issue. have you run anything on the form values that may be submitting the value to be cahced in the page prior to reseting it

____________________________________________________
Python????? The other programming language you never thought of!
thread333-584700

onpnt2.gif
 
You're right. I'm using JSP (new to it...) I just changed the scope to request, and it works just fine.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top