VerifyValue
You use the VerifyValue keyword to verify a field value by comparing the field value with a user variable (input value).
Signature
The VerifyValue keyword supports the following signature:
VerifyValue(AppletRN|FieldRN|[RowNum]/[Active_Record],Operator,Value(or)@Variable)
Note the following about the VerifyValue keyword signature:
-
If performing the action on tile applets, then the tile index and row number must start with one.
-
The row number is optional. If RowNum is not specified, then RowNum defaults to the first row.
-
The following operators are supported: greater than (
>), greater than or equal to (>=), less than (<), less than or equal to (<=), not equals (<>),contains,startswith,endswith,LIKE, and so on.
Desktop Examples
The following table describes how to use the VerifyValue keyword to verify a field value by comparing the field value with a user variable (input value) in desktop applications.
| Target Object | Inputs | Closing Action | Comments |
|---|---|---|---|
|
Contact List Applet|StartDate |
=,Today |
N/A |
Verifies the field value by comparing it with the input value. |
|
Opportunity List Applet|Committed |
=,Y |
N/A |
Verifies the check box field value by comparing it with the input value. |
|
Contact List Applet|M/M|2 |
=,Mr. |
N/A |
Verifies the field value by comparing it with the input value. |
|
SIS Account List Applet|Name |
=,@Var1 |
N/A |
Verifies the field value by comparing it with the input value. |
|
SIS Account List Applet|Name|2 |
=,@Var1 |
N/A |
Verifies the field value by comparing it with the input value. |
|
Contact List Applet|Last Name |
startswith,Ab |
N/A |
Verifies the field value by comparing it with the input value, starts with Ab. |
|
SIS Account List Applet|Name |
<>,A* |
N/A |
Verifies the field value by comparing it with the input value, not equal to A. |
|
Opportunity List Applet|Name |
=,LIKE Q* |
N/A |
Verifies the field value by comparing it with the input value. |
|
Opportunity List Applet|Name |
<>,"Q* |
N/A |
"Verifies the field value by comparing it with the input value. |
Mobile Examples
The following table describes how to use the VerifyValue keyword to verify a field value by comparing the field value with a user variable (input value) in mobile applications (on mobile devices).
| Target Object | Inputs | Closing Action | Comments |
|---|---|---|---|
|
SHCE Sales Account List Applet - Mobile|Name|4 |
=,AG Edwards & Sons, Inc |
N/A |
Verifies the field value by comparing it with the input value. |
|
SHCE Sales Account List Applet - Mobile|Name |
=,@accountname |
N/A |
Verifies the field value by comparing it with the input value. |
|
SHCE Sales Account List Applet - Mobile|Name |
startswith,Ab |
N/A |
Verifies the field value by comparing it with the input value, starts with Ab. |
|
SHCE Sales Account List Applet - Mobile|Name |
=,A |
N/A |
Verifies the field value by comparing it with the input value, not equal to A. |