Simple conditions can be used to create simple constraints. For example, you can use them to set up the condition for which the user, while configuring the lamp, cannot select a red shade if he or she has selected plastic for the material. If the user selects a red shade, value 'plastic' will no longer be available for material. Simple conditions consist of a field compared with a value. Simple conditions can consist of one or more lines. In that case, the lines are combined by a logical OR.
Array variables can be referred to either by number or without number. If used without number, the expression is applied to any index value.
-
Repeat the first six steps described in the Create validation ruletopic.
-
Click the tab.
-
Press CTRL+N to create a new condition.
-
Select in the field.
-
In the field group, press CTRL+N.
-
In the field, select the variable that will be used for the condition.
-
If the selected variable belongs to the array group, type its number in the field.
-
In the field, select an operator for the current line.
-
In the , select whether the variable specified in the field will receive a specific value or will be calculated according to a formula.
-
If you selected , specify it in the field.
-
If you selected , click to create a formula.
-
-
Click the tab to create a message that will appear if the condition is TRUE. Select the language in which you will write the message and then type the message text.