Hi,
I have a form which has a lot of SELECTs. For various reasons, I'd like to only pass to the form the ones that are selected by the user. In other words, each SELECT is something like this:
<SELECT name=field001>
<option value=-1>Please pick a value</option>
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
</SELECT>
Usually, only one or two will be selected at a time, and I'd like to only pass the selected ones to the form. I'm guessing I'd need to unset the inputs that are -1 in JavaScript, but I'm not sure how to do that, and also wonder if there might be a standard approach to this kind of thing.
Thanks,
Ben