Join Now

Click here to join our
growing community:

JOIN LOGIN



Docs

Welcome Tour
Handbook
      Markups
      Variables
      Conditions
      Functions
      Forms
      Commands
      Concepts
Extensions
Pro Modules
Developers



Copyright © 2020
Terms of Use
Privacy Policy
BoltWire

Handbook

True

This script always returns true. It can be helpful sometimes with testing complex conditionals.

[if true]Always true[else]Never false[if]

It is also possible to put a function or variable in the conditional that outputs a true or false value. For example, suppose you have the following info values set on the current page.

bob: true
joe: false
sue: true
mary: false

Now consider the following markup:

[if {::{id}}]true[else]false[if]

It will return true if the user is bob or sue, false for everyone else. Obviously, it would make more sense to store the data on member profile pages, or an info page somewhere else.