Hi, I'm on symfony 1.3. I have form that several fields. One of these fields is a sfWidgetFormDoctrineChoice widget, with 'multiple' and 'expanded' options set to 'on'. So checkboxes are displayed.
I want to add a tabindex attribute to my field, so I tried this: $my_widget->setAttribute('tabindex', 12); But the result is quite unexpected: <ul tabindex="12" class="checkbox_list"> <li tabindex="12"><input tabindex="12" type="checkbox" ... / > <label tabindex="12" for="...">Value</label></li> <li tabindex="12"><input tabindex="12" type="checkbox" ... / > <label tabindex="12" for="...">Value</label></li> </ul> The tabindex attribute is added on each tag: ul, li, input, label. It generates a strange behavior on Firefox 3.5 when navigating with the TAB key.... (I haven't tested on other browsers) Is there a way to fix this problem? Thanks! :) -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.