ValueInField

Determines whether any part of the located word matches the value that is specified.

Syntax

bool ValueInField (StrParam)

Parameters

The value that is to be matched with a portion of the value in the current field. Smart parameters are supported.

Returns

False if no match occurs. Otherwise, True.

Level

Field level.

Details

Checks if the parameter you enter is within the value of the current field represented by the bound Field object of the Document Hierarchy. Only a portion of the field's value needs to match the parameter. If the entire field must match, use IsValue. Case insensitive.
Example
ValueInField("Invoice")