View Full Version : Way over my head form reset

Oct 27th, 2009, 06:51 PM
I have a page with 3 forms. I've got javascript making them appear and disappear with buttons at the top.
I mostly copied this guy's form:
I added some conditional checkboxes using wform javascript library.
my problem is that i need my reset button to a)reset the fields and b)re-hide the conditional fields.
It works with the sales form and the catalog form (the catalog from doesn't use the conditional fields) but for some reason the request a quote form is convinced .request isn't a function. Even though it is using the same function as the sales form only it is pushing it's form id to it.
what the heck am i doing wrong? And how awful and waste of space is my code?

Oct 27th, 2009, 08:25 PM
figured it out.
I had a div with id="quote" that was being grabbed before it got to my form id="quote"