Setting field value rules

Last updated Feb 08 2018
Control the data inputs in your form

Each time you select an input element on your form canvas you will get the option to specify a value rule for this field. Pressing on the "Set Value Rules" button will open the following window:


What are Value Rules?
Value rules are statements you define regarding what data may be entered in a  selected field and what data may not. If, for example, you want the number entered in an "Age" field is greater than 18 you will need to create a value rule in the "Age" field: Greater than 18.


How do I set a value rule?

Following are the window's components and how to use them:

1- 'Rule" #1' statement
In general, The rule is combined of one or more statements.  The statement contains 2 fields:
- 'Please choose' dropdown - This dropdown contains the relevant operators according to the field you are adding the value rule to.
operators like: Contains, Not Contains, Equals, Not equals, Starts with, Ends with etc.
- An empty Textbox - this is where you specify the value of this rule.
Examples for a statement are: Contains John, Equals 13, Starts with Sa, etc.


2- 'Add new' button
It is located to the right of the statement box. When you press on this button a new statement box will open and 2 fields will be added to the first statement box like so:
- 'Post' dropdown - when multiple statements are used you are required to specify the relationship between them by choosing "And" or "Or".
- 'Bracket' dropdown - this dropdown enables you to add brackets to your rule.


3- 'Custom error message' textarea
Once you configure your desired value rule these terms will be added to the field and the form filler will e required to abide by them. If, for example you set that your field "Not Contain" "Benny" - 
this means that if the user tries to enter "Benny" in this field an error message will appear stating : Should not contain 'Benny'.
This error message is generated automatically based on the value rule you created, however you can set a custom message instead if you like by entering text in the "Custom error message" textarea.

4- 'Show friendly condition' link

When you press on this link a small window will open displaying your value rule in a simple string. 

5- 'Add rule' button
If you wish for the user to have different messages displayed to him you will need to create a few rules. So simply press on this button and add a new rule.
For example: in the Name field you can create 2 rules:
- Not contain John 
- Not contain Lili 
In this case, if "John" is entered in the Name field the message shown to the user will be: "should not contain John". If "Lili" is entered it will say: should not contain Lili




CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.