Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.20
About It:
Get it:
Rate it:
  • Helpful?
  • 2 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_multi_choice

Perform multiple-choice actions in your articles, pages or forms. Similar in construct to a select... case or switch... case in high level languages.

Features:

  • Supports all major article, file, and link variables such as section, category, custom fields, id, query string, author, body, excerpt, yahde yahde, plus checking url vars, server vars, txp and PHP vars
  • Tests include equality, less than, greater than, divisible by, begins, ends, contains, and ‘character’ tests such is isalpha, isnum, etc
  • Tests can either terminate when a match is found, or “fall through” to the next test (“AND” logic)
  • Multiple tests can have the same outcome (“OR” logic)
  • The tested field & matched value are available to the case container so you can display them
  • Default condition in the event no test cases match
Article Request Count:
Keywords/tags:
Initially released:
10 Apr 2009
Posted here:
10 Apr 2009

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