Code snippets for symfony 1.x

Navigation

Snippets by user cram1010

Form widget to allow using the values of a column as labels for the optgroup HTML element

Form widget for symfony 1.4 extending sfWidgetFormDoctrineChoice or sfWidgetFormPropelChoice. The new feature is the possibility to indicate a column which values will be used to group all the fields with that column value within optgroup HTML elements.

You can get the code in this link.

by cram1010 on 2012-07-04, tagged optgroup  sfwidgetformdoctrinechoice  sfwidgetformpropelchoice  widget