I need some help on suggesting the right way to do this. Basically, I have one field in the database called "SupportRenewMonth" and it will store the number of month.
On the submit form, I have a dropdown list options as 12 month, 36 month, or Other (see below codes). When user click "Other", I will try to unhide the input box where user needs to enter the number of month manually (haven't figure out how to hide/unhide the textbox yet, but I will)
<select name="SupportRenewMonth" id="SupportRenewMonth">
<option value="12">12 Month</option>
<option value="36">36 Month</option>
<option value="Other">Other</option>
</select>
Enter Month Number:
<input type="text" name="SupportRenewMonthManual" id="SupportRenewMonthManual">
The problem is I need to capture either select box "SupportRenewMonth" or text box "SupportRenewMonthManual". Is there a way to tell the form to transfer to value from SupportRenewMonthManual to SupportRenewMonth select box, then submit the form. This way I don't have to modify my ASP code to try to capture both, then sort out which value to store in the database.