Answered
Using OnChange or OnBlur to changes the value of a hidden field
I have a need to update the value of a hidden field with the
value of a list menu. I researched the OnBlur and OnChange
JavaScript functions but did not find anything suitable. Here's the
deal:
If a user selects California from a State list menu, I need to immediately update the the value of a hidden field with 'California' . (Both fields are on the same page) All of this has to happen BEFORE the user Submits the page. Anytime they select the state from the list menu the hidden field value has to change.
Can anyone offer any suggestions?
Thank you!
If a user selects California from a State list menu, I need to immediately update the the value of a hidden field with 'California' . (Both fields are on the same page) All of this has to happen BEFORE the user Submits the page. Anytime they select the state from the list menu the hidden field value has to change.
Can anyone offer any suggestions?
Thank you!
