Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Syntax help pls.?

Avatar

Level 8

Hello

For some reason, i am using a variable in place of a FIELD, while doing of referring a text field expression syntax, working fine, the syntax is as below shown in (1)*

var myVariable

myVariable = myTextField

(1)* xfa.resolveNode("VISITOR.Page3.SubFrom1." + myVariable + "").access = "readOnly";

Now,

I want to use a vatriable in place(in stead) of COMPLETE text field expression syntax , pls. let me know its syntax(i tries with the below syntax, its not working), as shown in (1)* the above syntax

xfa.resolveNode(myVariable).access = "readOnly";

Thank you

0 Replies