I need to send only one input field value in a cgi script via a web form.
I have added some additional form controls (checkbox and radio buttons) that control the input value depending on the selected states.
When submitting a form, additional values ββare entered for the form fields that break the cgi script (which I do not have access to). I removed the "name" attribute from the checkboxes so that they would not be sent, but cannot do this for the switches, as it breaks their grouping.
How can I prevent the sending of switch values?
javascript jquery forms
pelms
source share