Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Example 2 Custom Validation Message with Substitution Variables

You can specify a validation message with substitution variables.

Procedure
1. In the Define Validation dialog box, type the code as shown in the Script field in the figure Defining Custom Validation Using Substitution Variables.
   Defining Custom Validation Using Substitution Variables

2. In the Custom message field, specify the validation error message using substitution variables from an array.
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, a validation error message using the substitution variables from the array appears on the form.

   Validation Script Example 2

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.