What it does
This node assigns the following PrintField attributes to non-interactive Form structure elements:
- Role
- checked
- Desc
Use it for
- Defining the type of non-interactive form fields.
- Specifying the state of non-interactive radio buttons or check box fields.
- Adding alternate descriptions to non-interactive form fields.
How to use it
- Drag and drop the node from the Node Library into your template:
Node Library > Folder Tagging - Connect the node with other nodes in the Data Flow of your template.
- Specify the settings in the Node Properties task pane.
Node Input
Items: Connect a node containing the non-interactive Form structure elements where you want to apply PrintField attributes.
Important
To set PrintField attributes, each Form item must have an attached Form structure element.
Node Output
Items: Outputs the same items, now enhanced with the specified PrintField attributes.
Node Properties
Node Name
You can assign a custom name to the node to help identify its purpose within your template.
Node Selector
Use Path Language to navigate through the shape trees and select the non-interactive Form structure elements where you want to apply PrintField attributes. Use the names assigned to shape trees (not the tags in brackets).
Role Expression
Define the type of the non-interactive form field.
Available variables:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list -
role.radioButton: Radio button -
role.checkBox: Check box -
role.pushButton: Push button -
role.textField: Text-value field. Please note: The text that is the value of the field shall be the content of the Form element.
Expected return type: integer
Example:
role.textField
Assigns the role "Text Field" to a text-value field.
Checked Expression
Specify the state of a radio button or check box field.
Available variables:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list -
checked.off: off (Default) -
checked.on: on -
checked.neutral: neutral
Expected return type: integer
Example:
checked.on
Assigns the state "on" to a radio button or check box field.
Desc Expression
Define an alternate name for the field.
Available variable:
-
item: the current item being processed from the input list.itemhas the same properties as a shape tree object. -
index: the zero-based index of the item in the input list -
first: the first item in the input list -
last: the last item in the input list -
count: the total number of items in the input list
Expected return type: string
Example:
"Adress"
This example assigns the alternate name "Address" to a text-value field that contains an address.