I have a little question re Symfony and the automatic creation of forms.
Basically what I need to do is to change the class name of the widget which gets used when creating a representation of a database field of type data/time.
Currently its creating a sfWidg开发者_运维技巧etFormDateTime() widget however I would like it to generate a widget from a class which I provide, ie. sfWidgetCustomFormDateTime().Anyone got any ideas?
Thanks,
This is how you do it Symfony forms: how to change default widget for form generation
精彩评论