Hi,
I have a dropdown list box with 2 fixed values and when the user changes the value I want the caption text for fields on the screen to automatically change. I saw this post http://forums.adobe.com/message/3358411#3358411 and have done something similiar but despite no errors the captions on the screen are not changed.
The formcalc code I have is:
if (DropDownList1.rawValue == "1")
then NAME2.caption.value.#text = $record.IS_DATA.PERS_NAME2_CAPTION
else NAME2.caption.value.#text = $record.IS_DATA.COMP_NAME2_CAPTION
endif
I have also tried using resolveNode:
if (DropDownList1.rawValue == "1")
then xfa.resolveNode("NAME1.caption.value.#text").value = $record.IS_DATA.PERS_NAME1_CAPTION
endif
This is coded within the EXIT event of the drop down list1. The context to this is the form is interactive and generated from an SAP UI.
Can anybody see anything that I am doing wrong/missing? Is this something that should be possible?
Kind regards,
David