Variable

The following steps outline how to use variables in Formbite:

Click logic button in editor page

Editor

Click "Add variable" button

Add variable page

Name your variable and select type of variable

Define variable

You can initialize a numeric variable with a set value, such as 10, and then apply conditional logic to update it. For instance, if a certain condition is met, you could assign x the value of y + 10, where y is another variable.

Assign variable value

To use a variable in your form, type @ in the text field and select your desired variable from the list.

Reference variable in your form

Last updated