Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Accessing object with period in their name

Avatar

Level 2

Hi,

I have a filed with the name as "subform.textfield.text1"(name itself has periods with in its name), so my problem is how to access these fields in scripts, as it results in error.

Hieararchy

Subform1(Subform)

     Textfiel(subform.textfield.text1)

     Button(Button1)

(name of the fields)

Please help me out in this.

Thanks

Pooja

3 Replies

Avatar

Level 4
Level 4

Use xfa.resolveNode and prepend the period with a couple of backslashes.

XFA Specification 3.1, Object Models in XFA, Chapter 3. (pp. 104)

Avatar

Level 2

Hi,

What is this

XFA Specification 3.1, Object Models in XFA, Chapter 3. (pp. 104)

Pooja