Use logic to show or hide certain fields depending on the information you enter. With this feature, you will only see the relevant fields.
1. Add a rule
Once you have logged into the MoreApp Platform, select your form, for example your receipt form. After you selected you form click on Edit Form. By clicking on the Rules tab you will be able to add rules. Click on Add Rule. First, you choose the field that you want to use for the rule. Next, you choose one of the following conditions: Is, Starts with, Ends with, Contains, Has value, Greater than, and Less than. The last two are only applicable on Number-widgets. We will give you two examples.
Set the up the condition of the rule. For example, as shown in the image below: If the Radio-widget has the condition Is and the value is No, then the action that follows is that the photo and remarks fields will be visible.
Condition: Has value
Another example of a condition that can be used is Has value. With this condition, you are able to set a value to a widget if it fills the requirements of the rule. For example, when the user selects the country United States as an answer, the Office location gets the value of the specific office address. You can also see this example in this form.
If you have 2 identical questions / fields in your form (in the example below, the place of the office), you can use the Gets value rule to automatically fill in the second field / question.
Click on Save & Publish.
2. Multiple conditions
With rules, you can also choose to add multiple conditions. If one of the conditions is true, an action will follow; for example, if the emergency exit is broken or there is something missing, the remarks and photo must appear. Do this by clicking on Add Rule and choose the conditions that the emergency exit is broken or something is missing and select the option any and add the required actions.
3. Add the Username
You can also add rules based on a username. Some users, for example, will see extra information in the form. After clicking on Add Rule you can select Username as a condition. After clicking on Contains, enter the username you want to trigger the action for in the text box. Now add the action that follows. For example, if username MoreApp is logged in, an HTML-widget, and Text-widget will be visible.
4. Use the Search-widget
You can turn specific widgets on or off based on the Search-widget, do this by clicking on Add Rule and choose as a condition that if MoreApp is the company name, a Radio-widget will be visible.
You are now ready to use logic in your forms. This helps the user to only see the relevant fields for his /her specific situation.
Are your rules not working? Read how to avoid conflicting rules.
Do you want to be the first to receive the latest tutorials? Go to YouTube and hit the Subscribe button.