<select name="styleid" id="mystylechooser" onchange="switch_styleid(this)"> <optgroup label="My Quick Style Chooser"> <option value="1">Style 1</option> <if condition="$bbuserinfo[userid] == 1"> <option value="2">Style 2</option> <else /> <if condition="$bbuserinfo[userid] == 3"> <option value="2">Style 3</option> </if> </if> </optgroup> </select>