Building3 Min.

How to use the raise error block

Use a raise error block if you want to prevent a form from submitting, for example when a certain condition is (not) matched.

The concept

Your forms in Tripetto of course automatically validate inputs of respondents. For example a required field that's not filled out will be marked with an error and preventing the form from being submitted.

But we can imagine more complicated situations where the form cannot validate automatically.

For example you could have a survey in which your first question is a yes-no question to determine if the respondent meets your requirements. If the respondent answers 'No', you don't want the form to be submitted, as it will provide not valuable data to your responses. So in that case you can raise a custom error message to let those respondents know this survey isn't meant for them.

Configure a raise error block

The raise error block is available as a question type by clicking the Question type dropdown after you've added a new block. You can add it in any given position and in an unlimited amount inside your forms.

Raise error blocks are available from the Question type menu.


Of course make sure you only add a raise error block on the right places in your form's structure, as it prevents a respondent from finishing your form.

Add error message

You can now add the error message you'd like to show to your respondents. You can supply the error message and a description.

The error message will be shown as a common block inside the form, but without any interaction visible, preventing the respondent to finish the form.

Example of a raise error block, placed inside a branch if the respondent answers 'No' to the first question.

Discover our form blocks

Have a look at the...
In this article

    Help us improve