Create Forms

Setting Up Logic

Logic controls the flow of a survey based on the respondent's answers. Instead of always running in the same order, the survey can branch down different paths depending on how respondents reply.

The Concept of Logic

  • Logic determines "where the next question leads based on the response."
  • The default path is the flow every respondent goes through. (This is a different concept from 'Required'.)

Adding Logic

Open the Logic Settings

In the project editor, click the Logic button to open the logic settings screen.

Understand Condition and Go to

Logic is made up of two parts: a 'Condition' and a 'Go to' action.

Condition

  1. Select the reference field – Choose which field's response the logic should be based on.
  2. Select a condition – Pick the type of condition. Conditions fall into text/value, choice, number, and date comparisons — see Condition Types in Detail below for the full list.
  3. Select the option/response – Choose which response triggers the condition.
    • You can select multiple responses at the same time.

Adding Multiple Conditions

  • Click + Add new condition to combine multiple conditions.
  • When combining conditions, choose one of the following:
    • AND: The logic runs only when both the previous and following conditions are satisfied.
    • OR: The logic runs when either the previous or the following condition is satisfied.

Go to

  • Once all conditions are set, choose which field the respondent should move to.
  • When configured, any respondent who meets the condition jumps straight to the specified question.

Condition Types in Detail

Text / value comparison

ConditionMeaningExampleSample answer
EqualsThe value matches exactlyIf the answer is SeoulSeoul
Does not equalThe value does not matchIf the answer is not SeoulIncheon
Starts withBegins with a given valueIf the answer starts with 010010-1234-5678
Ends withEnds with a given valueIf the answer ends with .comexample@walla.com
Contains textIncludes given charactersIf the answer contains Inc.Paprika Data Lab Inc.
Does not contain textDoes not include given charactersIf the answer does not contain appleGrape juice

Choice comparison

Use this on questions where several items can be picked, such as multiple choice and checkbox questions, to test which options were selected.

ConditionMeaningExample
Contains allAll of the specified items were selectedIf both A and B were selected
Contains at least oneAt least one of the specified items was selectedIf either A or B was selected
Missing allNone of the specified items were selectedIf neither A nor B was selected
Missing at least oneAt least one of the specified items was not selectedIf at least one of A or B is missing

Number comparison

ConditionMeaningExample
Greater thanLarger than the reference valueIf age is greater than 19
Greater than or equal toLarger than or equal to the reference valueIf age is 19 or greater
Less thanSmaller than the reference valueIf the score is less than 60
Less than or equal toSmaller than or equal to the reference valueIf the score is 60 or less

Date comparison

ConditionMeaningExample
BeforeEarlier than the reference date (excluding that date)If it's before 2026-01-01
Before or equalOn or earlier than the reference date (including that date)If it's on or before 2026-01-01
AfterLater than the reference date (excluding that date)If it's after 2026-01-01
After or equalOn or later than the reference date (including that date)If it's on or after 2026-01-01

Creating Conditions on Sub-items

Some questions, such as a Multiple Choice Grid or a Table, have several parts in one answer. For these questions, choose the reference field, then choose the part to compare.

Choose the reference field

Choose the reference field. If the question has sub-items, a Sub-item menu appears right below it.

Choose the sub-item

In Sub-item, choose the row, column, or property to compare. If another menu appears, keep choosing until you reach the last one.

Set the condition and comparison value

Choose the condition type and enter the comparison value. The value input changes to match the last part that you chose. For example, if you chose a cell in a Table, type text. If you chose a row in a Multiple Choice Grid, choose one of the options in that row.

Selection order for each question

QuestionSelection orderComparison value
Multiple Choice GridRowOne option chosen in that row
Checkbox GridRowOptions chosen in that row (one or more)
RankingRankThe option placed at that rank
TableRow → ColumnThe text entered in that cell
Custom FieldProperty → item position, if necessaryA value that matches the type of that property
  • For Multiple Choice Grid, Checkbox Grid, and Ranking questions, you can set the comparison value as soon as you choose the row (for Ranking, the rank).
  • If respondents can type their own options in a Ranking question, choose Select Options or Custom for the comparison value. To compare with a value that is not in the list, choose Custom, type the value, and press Enter.
  • If a sub-item shows This answer cannot be used in a condition, you cannot use that part in a condition. Choose a different sub-item.

Sub-items of a custom field

  • If the properties are fixed, choose one from the Sub-item list.
  • If a property shows the Choose property and Enter key buttons, you can type the key yourself. For a key that is not in the list, click Enter key and type it.
  • If the answer is a list, an Item position box appears. Enter 1 for the first item and 2 for the second item. For a custom field whose whole answer is a list, you must fill in the first Item position box.
  • Leave an Item position (optional) box empty to compare the whole list, or enter a number to compare only that item.

Entering comparison values

Choose or type the comparison value in the menu or input box that matches the last part you chose.

  • Values with options – Choose an option from the list. Depending on the part, you can choose more than one option.
  • List values that you type – Type one value and press Enter to add it as a small chip. Add each next value the same way.
  • Numbers – The box starts empty, so type the number to compare. To compare with 0, type 0.
  • True/false – Choose True or False as the value to compare. In a list box, type true or false and press Enter.

Conditions that are not complete

If Check the condition and finish entering its values. appears below a condition, you have not finished entering it. Check these points to finish it:

  • If text stays in an input box, press Enter to add it as a chip.
  • If a value does not match the expected type, the text stays in the box and Enter a value of the expected type. appears. Correct the value and press Enter again.
  • If a message says that Item position is empty or out of range, correct the number as the message describes.

You cannot publish the form in this state. If you try to publish, Complete or correct the condition input before publishing. appears.

Conditions that break after you edit a question

If you delete or change a row, column, or option in a question, a condition can show Item not found or This value is no longer an option. Choose another one. In this case, choose a different sub-item or value.

If a saved condition stays in this state, you cannot publish the form. If you try to publish, A response-value condition is no longer valid. Check its question, sub-item, and comparison value. appears.

Creating Conditions with Hidden Fields

You can send respondents to different questions based on a hidden field value that you add to the link. For example, you can send only respondents who come from an ad link to questions about the ad. First, register the hidden field in Tracking on the Share page. For the steps, see Tracking (Hidden Fields).

Choose the hidden field

In the reference field list, choose the name of the hidden field.

Set the condition and value

Choose one of the text / value comparison conditions and type the value to compare as text.

Choose the destination question

Choose the next question to show when the hidden field value meets the condition.

  • Example: if you create a condition with hidden field utm_source, Equal, and ads, only respondents who open https://walla.my/v/QA9S0i0UfZn5rZTfSbd4?utm_source=ads go to the selected question.
  • If the link has no value for a hidden field, that hidden field meets no comparison condition, including Not equal.
  • You cannot delete a hidden field that a logic condition uses. For the steps to delete it, see Deleting a Hidden Field Used in Logic.

Setting Up Logic with Nodes

Look at the nodes and connectors

On the logic screen, each question appears as a node and the connectors between nodes show the flow. Default path is the flow every respondent takes, while numbered branches such as Logic #1 and Logic #2 are the paths that split off based on conditions.

Set the default path

Click the Default path label on a node to open a dropdown for choosing the Next field. Search for a field or pick one from the list to set where respondents who match no condition go next.

Edit conditions on a logic node

Clicking a numbered branch label such as Logic #1 or Logic #2 expands the condition area right there. You can edit the reference field, the condition, and the options directly on the node, or add a New condition.

Click a connector to edit it directly

After selecting a field, you can click the connector between nodes directly to edit that flow — no need to click the Logic or Default path label on the node.

Drag nodes to connect them

Drag the connection point at the bottom of a node onto another question node to link the two directly and create a flow. Drawing a new connector sends respondents down that path.

Logic Examples

Additional Settings and Notes

  • If logic breaks midway, it's most likely because a rejection field sits in the middle of the flow, or an earlier question's logic is misconfigured.

  • Questions inside a field group can each have their own logic. If logic points to a specific question, the view starts from the group that contains it.

  • Clicking the Reset button removes all logic from the current question.