Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Example 1 Setting a Custom Validation Message

In this example, the text field has the name petNumber.

The General Tab

This means that the value submitted for this text field by a user can be referenced in the validation script by the expression `control.petNumber.value`.

Procedure
1. In the Define Validation dialog box, specify the value in the Script field.
   Defining Custom Validation

2. In the Custom text field, type the validation error message that you want the user to see on specifying incorrect data.
3. Confirm that the Enabled check box is selected, and click Finish.

   If the user submits a value other than the one specified in the validation script, the validation error message appears on the form.

   Validation Script Example 1

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.