Formsort
Search…
Formsort
Formsort documentation
Building flows
Core concepts
Adding content
Content types
Conditions and logic
Conditional operators
Advanced logic
Schemas
Redirects
Styling and themes
Publishing and versions
Handling data
Philosophy
Data retention
Responder UUIDs
Environments
Passing data in
Getting data and events out
Integration reference
Going live
Custom domains
Built-in analytics
Embedding
Split testing
Preflight checklist
Teams
Accounts
Event subscriptions
Powered By
GitBook
Conditional operators
Operators useful for logic on single answers
Currently, the following logical operators are supported:
Equals
The answer exactly equals the value.
Does not equal
The referenced answer does NOT equal the value.
Note that this also is true whenever the answer is not defined (has not been collected yet).
Greater than
The referenced answer is greater than but not equal to the value.
Only available for number-type answers.
Less than
The referenced answer is less than but not equal to the value.
Only available for number-type answers.
Matches regular expression
The referenced answer matches the regular expression pattern.
Does not match regular expression
The referenced answer does not match the regular expression pattern.
Is defined on load
The referenced answer was set in the URL, a
POST
, or otherwise present when the form was first loaded.
Useful for skipping questions that you provided answers for upfront, and you do not want users to confirm or edit.
Is defined
The referenced answer has any value set, even false.
This is particularly useful for hiding parts of a step that you don't want to show unless an answer is provided.
Is not defined
The referenced answer has not been set.
Had a loading error
The referenced answer is calculated dynamically or loaded from an API, and there was a problem when determining its value.
​
​
Building flows - Previous
Conditions and logic
Next
Advanced logic
Last modified
2mo ago
Copy link
Contents
Equals
Does not equal
Greater than
Less than
Matches regular expression
Does not match regular expression
Is defined on load
Is defined
Is not defined
Had a loading error