Guide

Logic, variables and hidden fields

Send people to different questions or endings based on their answers, keep a score, and carry values in the link.

/forms/frm_e3w3…?tab=logic
The Logic tab: on the left, Variables, Hidden fields and the questions, with question 2 showing its 1 rule; on the right, Rule 1 for 'How likely are you to recommend Northwind', If all of these are true: is at most 6, Then go to 'What is the one thing we should improve?'

Logic runs when someone leaves a question. Pick the question on the left, then Add a rule: some conditions, then what happens.

  • Conditions can look at any question up to this one, at hidden fields, and at variables. A rule with no conditions always runs.
  • Go to jumps to a later question or to an ending. Jumps only go forward, so a form can't loop.
  • Calculate adds, subtracts, multiplies, divides or sets a variable.

Rules run top to bottom. Every matching rule updates variables; the first matching Go to decides where people go. With no jump, people go to the next question, and after the last one to the first ending.

Conditions by question type

QuestionConditions
Text, email, phone, websiteis, is not, contains, does not contain, starts with, ends with
Number, rating, opinion scaleis, is not, is more than, is less than, is at least, is at most
Dateis, is not, is after, is before
Single choice, dropdownis, is not
Multiple choiceincludes any of, includes all of
Yes / no, consentis, is not

Every type except yes/no and consent also has is answered and is not answered.

A jump past a check doesn't let anyone skip it: the editor warns you, and at Submit people are taken back to any check they haven't passed.

Variables

Numbers your rules calculate as people answer, such as a score. Each starts at a value you choose. They're saved with every answer, shown in each response and the CSV, and rules can branch on them. A variable a rule uses can't be deleted.

Hidden fields

Values the form's link carries, such as where someone came from. Add a field named ref, and …/f/2kdhncnx?ref=newsletter saves ref = newsletter with the answer. People don't see hidden fields; you see them under Responses and in the CSV, and rules can branch on them.

/forms/frm_e3w3…?tab=logic
The Hidden fields view in the Logic tab: one field named ref, an Add a hidden field button, and the form's link with ?ref=… appended

In an embed, set them with data-mitome-hidden="ref=site,team=growth" on the element (Embed).

Limits

200 rules per form, 20 conditions per rule, 10 actions per rule, 20 variables, 20 hidden fields. A hidden field's value is cut at 500 characters.

On this page