Welcome Guest, Not a member yet? Register   Sign In
[solved] add more info to form dropdown
#1

[eluser]pabloheim[/eluser]
hi, ive been searching how to pass id or class to form_dropdown.

as seen the user guide , first parameter represents the name of the dropdown, and in the second, the corresponding array with the option list.

is there any way to add, for example an id or a class ?

i tried passing an array(which contains name, id and class) as first parameter, but it didnt work.

an easy solution could be to not use the form helper, but im trying to stadarize all forms with it.

thanks in advance. hope you can help me!

greetings.

-----

solution : just add a string as fourth parameter ¬.¬




Theme © iAndrew 2016 - Forum software by © MyBB