...
Reference | Attribute | Description | ||||||
---|---|---|---|---|---|---|---|---|
| Name | The name for the creation of a new rule to the system. | ||||||
| Trigger event | Via drop-down the desired trigger event can be selected. Trigger events of a rule can be on form load, on form input and before form submit/save. | ||||||
| Conditions | On the condition part the user sets a condition state of an element (e.g. radio button element selected by variable name should not be equal with value 'Yes' depending on the condition the user can alter the behavior of another element or container. | ||||||
| Buttons | With the 'Copy rule'-button the rule can be copied and with the 'Delete rule'-button the rule can be deleted. |
...
Supporting user's language in TSD rules
...
Reference | Attribute | Description | ||||||
---|---|---|---|---|---|---|---|---|
| SYS.CURRENT_USER_LANGUAGE | On the "Select an Element" user can set rules according to their preferred language that are taken from system variables. | ||||||
| Select a Property | On the "Select Property" field, users can choose the options available, such as Equals, . Other options are: Has a value, Contains, Starts with etc. | ||||||
| Language Value | In the "Value" field user must enter the language that wants to apply to the rule such as German. For Other example , includes "GermanEnglish", "English" “Bulgarian” or any supported language by in the product. | ||||||
| Select an Element | User selects the element for the applied rule like “comment” component in this case | ||||||
| Select a Property | Set the property you want to be applied for the component like: Required, Writeable, Value etc. We want to set the value for the comment text area in this case. | ||||||
| Value | Sett the value you want to apply to the rule. The |
Info |
---|
The rule above can be interpreted as: when user set the language |
...
as German in the product |
...
, then add in the comment section the value "Keyboard layout must be German" |
To test the rules that are enabled, the user can go to the ‘Preview’ tab and check for rules behavior depending on the configuration of the rule.
...
a) When English is set as user language, the comment textarea is empty
...
b) When German is set as user language, the textarea is filled with the rule “Keyboard must have German Layout”
...
...
Variables
Within the form tab 'Variables' all form variables and system variables are listed.
...