Prevent a form submitting elements that are not needed
I am trying to create a form that shows specific elements but not others, the problem is that all are being submitted and therefore creating conflicts. I know that display:none isn't going to work but I am not sure how to change this, my java script is what changes the display:none depending on a previous form.
//below code will disable first and second select box
Asked in February 2016Viewed 1,622 timesVoted 13Answered 1 times