I am creating dynamic form with livecycle designer and I have a group of radio buttons "Mr.", "Mrs.", "Ms.", "Other". When "Other" button selected, text field appears after the radio buttons group, in which user should enter the "custom" salutation.
The behaviour I want to achieve is that the value user enters in the text field, will become the value of the Radio Button group and I really got lost with this task.
Does anybody know how to do it??
Thanks in Advance,
form1.page1.subform1.resolveNode("RadioButtonList.#field.caption.value.#text").value = this.rawValue;
Thanks for the fast reply.
Unfortunatly It didn't do the job - my test form attached to the message contains radio button list and text field next to them. When you submit the form I want the XML <Other> to contain the text from text box.
Thanks a lot,
You might try the following on the exit event of the text field:
Supposing you had an exclgroup called RadioButtonList, and you were wishing to store the value of your text box in a field named 'other'.
This will set the value of the radio button 'other' to be the value entered in the text field, and will then 'select' that radio button.
Ryan M. Jacobs
Cardinal Solutions Group