The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
selected item in print_select_row
I'm missing something basic with print_select_row.
Why does this have false selected? Code:
print_select_row('Equipment Active', 'equipment_active', array("FALSE", "TRUE"),"TRUE"); Code:
<tr valign="top"> <td class="alt1">Equipment Active</td> <td class="alt1"><div id="ctrl_equipment_active"><select name="equipment_active" id="sel_equipment_active_5" tabindex="1" class="bginput"> <option value="0" selected="selected">FALSE</option> <option value="1">TRUE</option> </select></div> --------------- Added [DATE]1254702603[/DATE] at [TIME]1254702603[/TIME] --------------- *****UPDATE***** Got it. I didn't see it was a key=>value that needed to be passed. This works: print_select_row('Equipment Active', 'equipment_active', array("FALSE"=>"FALSE", "TRUE"=>"TRUE"),"TRUE"); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|