Add conditional logic to fields

The Conditional Logic add-on allows you to control the visibility of content or form fields

Conditions can be based on:

  • Static values: fixed strings, numbers, or expressions.
  • Tags: values provided by the system, such as the logged-in user, user role, or other available tags.

Important: Conditions are not evaluated based on the values entered in form fields. They only work with static values or tags. For that purpose you can use the Conditional Display add-on.

Practical examples

Show content only to logged-in users:

[if {user.id} != '']
    Welcome back, {user.display_name}!
[/if]

Show form only to logged-in users:

[if {user.id} != '']
    /* HERE YOUR FORM */
[else]
    Restricted access. You must log in to continue.
[/if]