In Condition, users can define how multiple correlative fields in a cross-field validation are valid or not valid, and the hint message will to be shown if values of correlative fields are not valid.
To define a cross-field validation, do the following steps:
▪ In the Project Explorer View, open a XUI file and select the form which you want to define cross-field validation.
▪ In the xValidation tab of Properties view, click the Add icon to add a new xValidation rule.
Headless xValidation has a small decoration beside it.
▪ In Basic tab of Details section, input the name and the hint message which will be shown when the values of correlative fields are not valid in Hint field. Hint message supports NLS, you can select NLS element by clicking Browse button. Choose to define either invalid condition or valid condition by clicking the "Invalid condition" checkbox.
▪ Select Condition tab of Details section to define condition of this validation. You can either choose Widget Function, Widget Property, Expression or Global Function to define the condition of this cross-field validation, and then click Apply Value to confirm.