Conditional questions
- How do I create a conditional question?
When creating questions on forms on the InEvent platform, it is possible to add conditional questions. This means you can add a second question depending on the answer that the participant gives to a specific question on the form.
To do this, you will use the Question Parent Selection function, which serves as a conditional to attach a question to an answer.
You can add conditional questions to the four types of forms offered by InEvent:
How do I create a conditional question?
Once you are on the registration, feedback, abstract or custom form, you can create conditional questions through the following two-step process:
- First, create a parent question.
- Next, add a child question (The visibility of the child question depends on a participant's answer to the parent question on the form).
How do I create a conditional question for a Yes/No answer type?
The following steps are described with the Registration page (Marketing > Registration > Registration form) as reference:
Creating a parent question
- Click on + Add question at the top of the screen.
- Enter a title, for example, Are you staying overnight?.
- Choose Yes/No from the Question-answer type drop-down.
- Choose a section of the registration form that the question will belong to (if you have created one).
- Press Create.

After creating the parent question, you can add and link a conditional child question.
Adding a child question
- Click on +Add question again.
- Choose a title. For example: Are you staying more than one night?
- Select any answer type.
- Select the parent question previously created from the Question parent selector field.
- Select the parent option. In the case below, we use Yes.
- Press Create.

Following the use case example given above, if participants select Yes to the question Are you staying overnight?, the conditional question Are you staying more than one night? will be displayed. If participants select No for the first question, the conditional question will not be displayed as shown in the GIF below:

How do I create a conditional question for the checkbox answer type?
Creating a parent question
- Click on + Add question at the top of the screen.
- Enter a title, for example: Are you happy?.
- Choose Checkbox from the Question-answer type drop-down.
- Choose a section of the registration form that the question will belong to (if you have created one).
- Press Create.

After creating the parent question, you can add and link a conditional child question.
Adding a child question
- Click on +Add question and enter the title. For example: What makes you happy?
- Select the suitable answer type. In this case, Plain text is selected.
- Choose the section (if you have created one).
- Select the parent question previously created from the Question parent selector field.
- Select the option from the Question parent option selector field. A checkbox answer type will give you a Yes or No Question parent option. In this case No, is selected.
- Press Create.

Following the use case example given above, if participants do not tick the checkbox, it is a No response to the question Are you happy? and they will be redirected to the conditional question What makes you happy? as seen in the gif below:

How do I create a conditional question for the options list answer type?
Creating a parent question
- Enter the Question title.
- For the Question answer type, select Option list from the drop-down bar.
- Select Empty list from the Option list values. (You will be able to fill the empty list later.)
- Choose the section the question will belong to (if you have created one). In this case it is Transportation.
- Press Create.
- Click on Edit > Options and add the options as shown below:

After creating the parent question, you can add and link a conditional child question.
Adding a child question
- Click on +Add question and enter the title. For example: Which bus line will you use?
- Select any suitable answer type.
- Choose the section (if you have created one).
- Select the parent question previously created from the Question parent selector field
- Select the option from the Question parent option selector field. In this case, Bus.
- Press Create.
- Add the Options by clicking on Edit.

Following the use case example given above, if participants answer Bus to the question What is your means of transportation, they will be redirected to the conditional question Which bus line will you use?

How do I create a conditional question for a multiple choice answer type?
Creating a parent question
- Click on + Add question at the top of the screen.
- Enter a title, for example: What are your hobbies?
- Choose Multiple choice from the Question-answer type drop-down.
- Choose a section of the registration form that the question will belong to (if you have created one).
- Press Create.

After creating the parent question, you can add and link a conditional child question.
Adding a child question
- Click on +Add question and enter the title. For example: How long have you been dancing?
- Select the suitable answer type.
- Choose the section (if you have created one).
- Select the parent question previously created from the Question parent selector field.
- Select the option from the Question parent option selector field. In this case, Dancing
- Press Create.

Following the use case example given above, if participants select Dancing as a response to the question What are your hobbies?, they will be redirected to the conditional question How long have you been dancing? as seen in the gif below:

How do I edit a conditional question after adding it?
To view the conditional question(s) click on the main or parent question and click on conditionals.

After you click on the conditional question you can change its status from conditional to none-should always appear (if you no longer want to make it conditional to the parent question).
You can change the Answer type, title and subtitle.

You can also change the section it belongs to, and you can set it as either required or as a visible mask.

Triggers
When using conditional questions, it's possible to segment the audience based on the answers provided. To do so, ensure you have created lists, then follow the next steps which will teach how to assign participants to the lists created:
- Add a question using Yes/No, Checkbox, Option lists or Multiple choice as the Question answer type.
- Click on the question created, and then click on Triggers.
- Click Edit on the top right corner to make changes and select from the drop-down bar the lists that should be triggered based on the expected answer, e.g Yes or No.
- Click on End to save the changes.

Deleting conditional questions
When deleting questions, it is possible to delete the Parent question and allow the child question(s) to become parent questions of their own, or you can completely delete the Parent question along with its associated child question(s). To achieve this, follow these steps:
- Click on the Parent question you want to delete.
- Click on Edit.
- At the bottom of the question's box, you will see a red Remove button. Click on it, and a confirmation box will appear.
- Click on the Remove button again to confirm the removal of the Parent question.
- If you want to remove the conditional child question(s) along with the parent question, click the Remove conditional questions option.
- If you want the child question(s) to become parent questions on their own and appear individually on a form, click the Move them to top level option.
- Press the End button to save your changes.

Below, the image on the left depicts the Parent question along with the child questions displayed when an option linked to the child question is selected. In contrast, the image on the right illustrates the conditional questions appearing individually on their own after the removal of the parent question:
