This is a client-side condition which compares the content of the web page against the value specified when configuring the condition.
The following configuration options are available for this condition:
Page Type: This is used to specify whether the comparison should be carried out against the rendered page or the page source HTML. If you compare against the rendered page, then the rule will search the body of the page, excluding the page markup, for the specified value. This comparison takes no account of whether the content is actively displayed or not.
Operator: This is used to specify whether you wish to check if a page contains or does not contain the specified value. You can also choose to perform a regular expression match by selecting Matches regular expression from the dropdown.
Value: This is used to specify the value used to perform the comparison.
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.
Case Sensitive: This is used to specify whether or not the condition uses case sensitive matching. Checking the box instructs the condition to use case sensitive matching. This option is not available if you selected Matches regular expression from the Operator dropdown.
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.
Note: Comparing page content can vary across browsers. For example, if a visitor is using Internet Explorer as their browser and changes the value of a form field after the page has rendered, the Page condition will include the new value in the comparison, whereas Mozilla Firefox and Google Chrome will continue to use the old value.