I have an html Form that I am posting to http. When I test the form and post it to http the element below shows up in the posted data. I only want the element to appear in the http output when the user selects something other than "once", if the user selects "once", then the element is not allow to be in the http output.
<select id = "Selection" name="shopping-cart.items.item-1.subscription.period">
The line below is the way it looks in the http result.
shopping-cart.items.item-1.subscription.period=ONCE
The javascript line below "disables" the element based on what the user selects in a drop down but does not remove the element from the http output.
DonateForm.elements["shopping-cart.items.item-1.quantity"].disabled=true;
The excellent script in the link below from job0107, does just what I need it to do, it removes elements from the Form, from what gets posted to http, I just can't figure out how to tweak it to make it work with my form.
http://www.hotscripts.com/forums/jav...tml#post124160