Sign in to Community
Sign in to view all badges
I am trying to implement a code to dynamically changes the caption and the name of the field based on the event, but it seems to be working for the caption but not for the name.
Caption : this.caption.value.text.value = "Text" --------------Working
Name: this.name.value.text.value = "fldName" -------------- Not Working
Can someone please let me know if the syntax is correct or if i am doing something wrong.
Can you try resolveNode  to see if that works for you.
this.rawValue = xfa.resolveNode(fieldname.rawValue);
Just wondering, what could be the use-case when you try to change the name of a field. Dynamically changing the caption value is possible either way.
 - https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...