Expand my Community achievements bar.

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

Former Community Member

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