Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
Flag it:
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
Keywords/tags:
case,
check,
choice,
compare,
condition,
conditional,
field,
if,
multiple,
select,
switch,
test,
variable
Initially released:
10 Apr 2009Posted here:
10 Apr 2009Article modified:
11 Apr 2009









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:
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.