How to f开发者_运维技巧ormat fields of multifield widget (widget with many inputs) in backed module? I have widget based on sfWidgetFormSchema and in backend all fields of this widget are displayed in one line (in the same div). How to display them properly? It is possible in generator.yml?
How to do this right way.
- Take a look at
sfWidgetFormDate
class as an example of multiinput widget. Write your own widget class. - Take an
sfValidatorDate
as an example of multiinput validator class. Write your own validator for your own widget. - Replace desired field's widget and validator to yours.
- Enjoy your fancy new tricky form control.
精彩评论