This is a client-side condition which compares the value of a specified page element against the value specified when configuring the condition.
The following configuration options are available for this condition:
Element Type: This is used to specify what type of value the match is carried out against. The value element types available in this dropdown box are:
Numeric
Text
Dropdown
Check box
Radio button
Date
The other configuration options available for this condition depend upon the element type selected.
Element Property: This is used to specify the method used to identify the page element the match is performed against. You can identify the page element using either the element name or the element ID.
Note: It is possible that multiple instances of a form field with the same name can exist on a web page. In this case, if the element name is not fully qualified the condition will iterate through each of the multiple occurrences until the first match is found.
Element Property Value: This is used to specify element name or the element ID of the element to use for the comparison.
Operator: This is used to specify the type of comparison to perform. The operators available depend on the element type.
Note: If the specified page element cannot be found, then this condition returns a false value regardless of the operator chosen.
Value: This is used to specify the value used to perform the comparison. If you selected Date from the Element Type dropdown, then a calendar view is displayed when this text box receives the focus.
Regular Expression: If you select Matches regular expression from the Operator dropdown, this text box is used to enter the regular expression you wish to use.
Test Regular Expression: This button appears when you select Matches regular expression from the Operator dropdown. It is used to provide a sample of text against which to test the Regular Expression specified for this condition. Type in some sample text and press the Test button. A tick or cross is displayed to indicate whether the Regular Expression is valid when run against the sample text provided.
Trim Whitespace: This is used to specify whether or not to trim leading or trailing whitespace from the value used for the comparison. Checking the box means that any leading or trailing whitespace shall be removed.