java - submitting a multiple values and hidden values on checkbox in html -
is there way submit multiple form fields tying 1 checkbox eg:
<input type=hidden name=code value="cycle_code" />
<input type=checkbox name=vehicle value="cycle" />
<input type=hidden name=code value="car_code" />
<input type=checkbox name=vehicle value="car" />
i want able check car , car_code submitted also. , same cycle
you use javascript dynamically set value of hidden field.
Comments
Post a Comment