IsValue
Determines whether the value of the located word matches the value that is specified.
Syntax
bool IsValue (strParam)
Parameters
The value to be compared to the object's recognized value. Smart parameters are supported.Returns
True if the located value matches the parameter's value. Otherwise, False.Level
Page or field level.Details
Using the current location of a previously located word or phrase, this action determines if the value matches the value of the input parameter. By testing the value recognized in the current word or phrase, it is possible for an application to determine it has located the data that is required, and then take subsequent actions based on the result of the test. If you want to check the value of a subset of the word or phrase, use the ValueInWord action. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.Attention: Match test is not case sensitive and does not include
leading and trailing spaces.
- Example
WordFind("Houston") GoRightWord("2") IsValue("77770")This sequence confirms that the current page's recognized value for Houston's ZIP code is "77770".
The action returns a Boolean value: True if the values are the same, False if they are not.