[eluser]Seppo[/eluser]
In the new form_dropdown function, I like autodetecting for multiple dropdowns... but it has a problem, when I declare the multiple
Code:
echo (form_dropdown('a', array('a', 'b', 'c'), array('a','b'), 'multiple="multiple"'));
I´m getting
Code:
<select name="a" multiple="multiple" multiple="multiple"> <option value="0">a</option> <option value="1">b</option> <option value="2">c</option> </select>
(please note the multiple twice)
But if I don´t declare the multiple, it might have only one (or none) checked option, if multiple are allowed...
By the way, Derek, you left a ")" when you fixed the bug in this function, yesterday =)
Edit: I found a stupid typo, not worthy for a thread in string_helper, line 59, stering => string