The Data Validation tab allows you to validate user-entered data of an application that contains grid data by entering regular expressions.
Validation Expression – the validation rule in the form of a regular expression.
Test – click this button to launch the Regular Expression Tester popup window, where you can test the regular expression.
Regular Expression – enter the regular expression you want to test.
Test Value –
Test Result – the results of the test appear after clicking Test.
Common Expressions – this drop-down list provides a set of predefined, frequently used regular expressions you can select from.
Detailed Instructions – this is an optional
field you can use to provide additional information to the client
mobile device user, for example, Include area
code with phone number
or Enter
full 9 digit zip code
. On the client device,
the Detailed Instruction message displays near the input fieldnote
that is included with the form field on the client device. This
may not apply for all client devices–it depends on the
screen size and capabilities of the device.
Error Message – enter a customized error
message to be sent to device client device users when their entered
data does not match the validation expression. Instead of receiving
the usual generic error message, the user receives a more informative
message, for example, Zip code must have nine
digits
.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |