Skip to Content
Author's profile photo Former Member

Interesting observation while using a Text Field ‘presence’ in Adobe forms

To access a particular parent element (Text fields, texts, subforms, pages) in the Hierarchy palette i.e. ‘Bottom to Top’ approach, we generally write formCalc logic in below way.

$.parent.parent.XXXX

to find the child elements, i.e. ‘Top to Bottom’ approach, we write in below way.

$.XXX.XXX        (XXX being a subform)

Though ‘presence’ is a keyword in Adobeforms used to hide or visible a particular field, system will accept to give this name to a Text Field.

Suppose, if this ‘presence’ field is placed inside the subform and the FormCalc logic is written in script editor of the subform in below way, what exactly happens?

$.presence = “hidden”

Generally, ‘$’ represents the current element which has been selected. and ideally the subform has to hide when we perform print preview. but the system will show the value of the ‘presence’ field as ‘hidden’. i.e. value of the ‘presence’ field is over written by value ‘hidden’

if the name of the text field is made capital, then we have two options in writing the logic.

1) $.PRESENCE  (representing the text field)

2) $.presence   (representing the subform’s presence in the layout).

Regards,

Raghu Nandan Taduri

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.