Answered
cfformitem type="script": How to set hidden field's value?
I have a simple test form that contains a cftree and a few
input/hidden fields. Whenever a tree node is selected, I want to
change the values of input/hidden fields to whatever node was
selected. Pretty simple, but I can't figure out how to change the
values of the hidden fields.
Load the form, select "ItemA" and click submit. The values of the hidden form fields don't change. They're always "not set". What is the correct syntax for changing a hidden field's value?
Load the form, select "ItemA" and click submit. The values of the hidden form fields don't change. They're always "not set". What is the correct syntax for changing a hidden field's value?