Setting multiple config values from one select menu
Posted: Fri Mar 03, 2006 5:06 pm
Right now I set one value (type) from a select menu. Another item (id_type) used in the plug-in when it's displayed depends on the 'type' value, but doesn't use the same value (but they do map to each other). Is there any way to set two different things from the same select box?
Ex:
Menu - Type - ID
Scroll - 'scroll' - 's'
Calendar - 'cal' - 'c'
IM Status - 'im' - 'i'
So when I choose "Scroll" from the menu, it puts 'scroll' into type, and 's' into id_type.
Otherwise I have to put a case statement in the "generate content" section.
Ex:
Menu - Type - ID
Scroll - 'scroll' - 's'
Calendar - 'cal' - 'c'
IM Status - 'im' - 'i'
So when I choose "Scroll" from the menu, it puts 'scroll' into type, and 's' into id_type.
Otherwise I have to put a case statement in the "generate content" section.