Hi, I have created an admin generated module in my backend "myclass" based on Myclass.class.php. After changing the widget for the field "name" and assigning it a default value "your name", I was surprised that the default value was not shown in the form.
On the other hand my frontend has a module (generated using doctrine:generate-module) based on the same Myclass.class.php. The form does display the default value. MyclassForm.class.php: class MyclassForm extends BaseMyclassForm { public function configure() { $this->widgetSchema['name'] = new sfWidgetFormInput(array(), array ('value' => 'Please insert a name')); } } Can anyone tell me, why the default value does not show in the admin- generated form? And - more importantly - how I can get a default value into the admin-generated form? juro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---