View Full Version : How do I not clear part of my form when the "Clear All" button is clicked?

12-09-2011, 11:54 PM
I have a search form and added the "Clear All" Button functionality...but it clears the last part of the search form display preferences....how do I only clear the checkboxes at the top of the form only and not at the bottom of the form between the <DIV> tags?

I have attached a copy of the JSP page.

Old Pedant
12-10-2011, 03:00 AM
Ummm...you are using your *OWN* clear_form_elements function, so just don't clear the stuff you don't want cleared. It's your code, not some standard function or code. So modify it.