Rules
Dynamic Rules, allow you to change the styles of the controls and set validations.
Formatting Rules¶
Formatting rules, allow you to change the formats (text color, background color, style) and visibility of a control depending upon a condition.
Rule Condition
This is the condition, that the formattings will apply when it's true.
return $Xml.EvaluateBoolean('Score > 10');
For this example, all formatting styles will apply when "Score" value is greater than 10.
Hidden
If chosen Yes, it will make control invisible. (when rule condition is true)
Disabled
If chosen Yes, it will make control readonly. (when rule condition is true)
Bold
If chosen, it will make the text bold. (when rule condition is true)
Italic
If chosen, it will make the text italic. (when rule condition is true)
TextColor
Sets the color of the text that will be seen when rule condition is true.
Background Color
Sets the background color of the text that will be seen when rule condition is true.
Available Objects
will be update.
Validation Rules¶
Validation rules, allow you to validate the data that is entered by the end-user. With this rule, you can notify the users if some conditions are not valid and the user is trying to take an action.
Validation Group Name
Name of the validation group that attached to action. You can leave empty to execute validation always.
Error Message
The error message that will be shown to the user when rule is validated.
Rule Condition
The condition for the validation. If this condition is valid, the error message will be shown and form will not be validated.
Available Objects
will be update.