Conditional fields

When creating fields on forms on the InEvent platform, it is possible to add conditional fields. This means you can add a second field which will only appear depending on the answer that the participant gives to a specific field on the form.

To do this, you will use the Field Parent Selection function, which serves as a conditional to attach a field to an answer.

You can add conditional fields to the four types of forms offered by InEvent:

  1. Registration form
  2. Feedback form
  3. Custom Form
  4. Abstract form
The conditional fields field will only appear if the answer type is Yes/NoOptions list, Multiple choice or Checkbox.

How do I create a conditional field?

Once you are on the registration, feedback, abstract or custom form, you can create conditional fields through the following two-step process:

  • First, create a parent field.
  • Next, add a child field (The visibility of the child field depends on a participant's answer to the parent field on the form).

How do I create a conditional field for a Yes/No answer type?

The following steps are described with the Registration page (Marketing > Registration > Registration form) as reference:

Creating a parent field
  1. Click on + Add field at the top of the screen.
  2. Enter a title, for example, Are you staying overnight?.
  3. Choose Yes/No from the field-answer type drop-down.
  4. Choose a section of the registration form that the field will belong to (if you have created one).
To learn more about sections, consult this article.
  1. Press Create.
Creating a parent field

After creating the parent field, you can add and link a conditional child field.

Adding a child field
  1. Click on +Add field again.
  2. Choose a title. For example: Are you staying more than one night?
  3. Select any answer type.
Child fields can hold any answer type.
  1. Select the parent field previously created from the Field parent selector field.
  2. Select the parent option. In the case below, we use Yes.
  3. Press Create.
Adding a child field

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

Yes or No conditional questions

How do I create a conditional field for the checkbox answer type?

Creating a parent field
  1. Click on + Add field at the top of the screen.
  2. Enter a title, for example: Are you happy?
  3. Choose Checkbox from the field-answer type drop-down.
  4. Choose a section of the registration form that the field will belong to (if you have created one).
  5. Press Create.
creating a parent field with checkbox answer type

After creating the parent field, you can add and link a conditional child field.

Adding a child field
  1. Click on +Add field and enter the title. For example: What makes you happy?
  2. Select the suitable answer type. In this case, Plain text is selected.
  3. Choose the section (if you have created one).
  4. Select the parent field previously created from the Field parent selector.
  5. Select the option from the Field parent option selector. A checkbox answer type will give you a Yes or No Field parent option. In this case No, is selected.
When a checkbox field is ticked, it represents Yes, and when it is unticked, it represents No.
  1. Press Create.
Gif showing conditional child field with plain text answer triggered by a Yes/No question

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 see the conditional field What makes you happy? as shown in the gif below:

Checkbox with conditional questions

How do I create a conditional field for the options list answer type?

Creating a parent field
  1. Click on +Add field and enter the Field title.
  2. For the Field answer type, select Option list from the drop-down bar.
  3. Select Empty list from the Option list values. (You will be able to fill the empty list later.)
  4. Choose the section the field will belong to (if you have created one).
  5. Press Create.
  6. Click on Edit > Options and add the options as shown below:
Creating a parent field for an option list answer type

After creating the parent field, you can add and link a conditional child field.

Adding a child field
  1. Click on +Add field and enter the title. For example: Which bus line will you use?
  2. Select any suitable answer type.
  3. Choose the section (if you have created one).
  4. Select the parent field previously created from the Field parent selector.
  5. Select the option from the Field parent option selector field. In this case, Bus.
  6. Press Create.
  7. Add the Options by clicking on Edit.
Creating the child field for an option list answer type triggered by a specific selected option

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 field Which bus line will you use?

Options list conditional question

How do I create a conditional field for a multiple choice answer type?

Creating a parent field
  1. Click on + Add field at the top of the screen.
  2. Enter a title, for example: What are your hobbies?
  3. Choose Multiple choice from the Field-answer type drop-down.
  4. Choose a section of the registration form that the field will belong to (if you have created one).
  5. Press Create.
Gif showing the creation of a parent question with a multiple choice answer type

After creating the parent field, you can add and link a conditional child field.

Adding a child field
  1. Click on +Add field and enter the title. For example: How long have you been dancing?
  2. Select the suitable answer type.
  3. Choose the section (if you have created one).
  4. Select the parent field previously created from the Field parent selector field.
  5. Select the option from the Field parent option selector field. In this case, Dancing.
  6. Press Create.
Gif showing the child field with a plain text answer type

You can create conditional fields for each of your multiple choice options.

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

Multiple choice conditionals

How do I edit a conditional field after adding it?

To view the conditional field(s) click on the main or parent field and click on conditionals.

Edit a conditional question after adding it

After you click on the conditional field you can change its status from conditional to none-should always appear (if you no longer want to make it conditional to the parent field).

If you edit the conditional field's status from conditional to none- should always appear, it will automatically go to the default section if it was inside another section. You can click on its settings and select the section it should be in again.

You can change the Answer type, title and subtitle.

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.

Required or as a visible mask

Triggers

When using conditional fields, 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:

  1. Add a question using Yes/No, Checkbox, Option lists or Multiple choice as the Field answer type.
  2. Click on the question created, and then click on Triggers.
  3. 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.
  4. Click on End to save the changes.
Gif showing Triggers
Note that the triggers are available only for custom forms and registration forms.

Deleting conditional fields

When deleting fields, it is possible to delete the Parent field and allow the child field(s) to become parent fields of their own, or you can completely delete the Parent field along with its associated child field(s). To achieve this, follow these steps:

  1. Click on the Parent field you want to delete.
  2. Click on Edit.
  3. At the bottom of the field's box, you will see a red Remove button. Click on it, and a confirmation box will appear.
  4. Click on the Remove button again to confirm the removal of the Parent field.
  • If you want to remove the conditional child field(s) along with the parent field, click the Remove conditional fields option.
  • If you want the child field(s) to become parent fields on their own and appear individually on a form, click the Move them to top level option.
  1. Press the End button to save your changes.
Deleting conditional questions

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

Before and after the parent question is removed.


How Did We Do?