When creating web forms, you can set certain fields to become visible only after a condition in a previous field has been met. This allows you to improve the user experience when filling out the form.
Set condition for a form field
- Open an existing web form.
- Click on a field to open the field settings.
- Turn on the Show field only when conditions are met slider.
- Select the previous field to which the condition should apply.
- Then set the condition. Depending on the underlying column type, you have different options to choose from.
Let's say you want to conduct a survey on employee satisfaction in your company. For example, you want to ask the question "How satisfied are you with our company car leasing?" and you know that only employees in managerial positions are offered a company car.
First, you should create a Rating column in your table and include it as a field in your web form with the question in the hint text. Then add the condition that the rating field is only displayed if the "Head of" option was selected in the previous "Position" selection field. In doing so, the previous selection field should require mandatory input, otherwise even executives who leave this field blank will not see the company car leasing question.