SupportArea

BoltWire is a FREE content management system written in PHP.

Its innovative architecture combined with best-in-class forms processing makes it ideal for creating complex, interactive, web applications fast...


Documentation

Markups
Variables
Conditions
Functions
Forms
Commands
Cheatsheet

Documentation

Handbook > Conditions > More

This function requires two parameters and checks to see if the second term is more than the first. If numbers, it will check the mathematical value, if letters, it will check it alphabetically.

The first two pass, the second two fail.

[if more 20 10]true[if]
[if more c a]true[if]
[if more 10 20]false[if]
[if more a c]false[if]

If the second term matches the first one, it will return false. To create greater than or equal use the negative of less. Consider the following:

[if more 3 3]false[if]
[if ! less 3 3]true[if]

For comparison purposes, numbers are considered lower than letters. So the first condition fails below, but the second one passes

[if more 5 c]false[if]
[if more c 5]true[if]