Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.91
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!

smd_if

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:
Keywords/tags:
Initially released:
30th Dec 2007
Posted here:
30 Dec 2007

You know you want to visit the Archives.
Published with Textpattern