Skip to main content

Field Conditions for Bricks Form

Updated over a week ago

The Field Conditions feature allows you to control the visibility of form fields based on the values of other fields. It lets you build interactive forms where fields appear or disappear depending on user input.

Settings

You can add one or more conditions to any field in your Bricks Form. Each condition includes:

  • Field Name: The name of the field to check.

  • Operator: The type of comparison to perform. Supported operators are:

    • Equals (==)

    • Not Equals (!=)

    • Greater Than (>), Less Than (<)

    • Contains / Does Not Contain

    • Is In: checks if the field value is in a list of values

    • Regex: checks if the field value matches a regular expression

    • Is Empty / Is Not Empty

  • Value: The value to compare against, required for most operators.

The conditions are evaluated in the browser and are applied immediately as users interact with the form.

Did this answer your question?