I have a form with input input fields
1. A drop down box of current customers "ClientSelect"
2. a text field to enter new customers "Clienttext"
3. A hidden field "ClientHidden" Below is the value for this field
<input name="clienthidden" type="hidden" id="clienthidden" value="<% If request.form("ClientSelect")="NONE" then Response.write request.form("clienttext") Else response.write request.form("clientselect")end if%>">
Whenever the form is submitted the Client data is blank. My queston is how would I automatically update the hidden value when someone either selects a existing Client or enters a new client. Basically Update the hidden field value before I submit.
If knowledge were power I would be a AAA battery!
1. A drop down box of current customers "ClientSelect"
2. a text field to enter new customers "Clienttext"
3. A hidden field "ClientHidden" Below is the value for this field
<input name="clienthidden" type="hidden" id="clienthidden" value="<% If request.form("ClientSelect")="NONE" then Response.write request.form("clienttext") Else response.write request.form("clientselect")end if%>">
Whenever the form is submitted the Client data is blank. My queston is how would I automatically update the hidden value when someone either selects a existing Client or enters a new client. Basically Update the hidden field value before I submit.
If knowledge were power I would be a AAA battery!