Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 9 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


Allows multiple conditional tests to be performed (e.g. if this equals that AND if this contains that AND this is empty, do such-and-such).

Can compare values of pretty much any TXP field, TXP variable, PHP variable, custom field, URL or server variable with any other variable (or fixed text / replacement tag of course) using a variety of conditional operators.

The operators include equals, <, >, <=, >=, between, not, divisible, begins, ends, in, notin, contains, isempty, isused, defined, undefined, isnumeric, isalpha, islower, isupper…

Filter user input and sanitize it based on custom rules. Also compatible with <txp:else />.

Article Request Count:
Initially released:
30th Dec 2007
Posted here:
29 Dec 2007
Article modified:
28 Jan 2012

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern