Content last modified Monday 6 March 2017
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
Article modified:
02 Aug 2010

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:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

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

You know you want to visit the Archives.

Browse

Categories


Articles

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