With sfFormDoctrine defaults values are always set from the related object :
So in the configure you can update the related object only if the object is
new. OR you can overwrite the updateDefaultsFromObject method.
On Fri, Jun 19, 2009 at 12:12 AM, LevelX wrote:
>
> Have you tried to set the de
Have you tried to set the default via the
$this->setDefault('name', 'Please insert a name');
syntax?
For me this works also in generated modules (but using propel).
On 18 Jun., 22:59, juro wrote:
> Hi,
>
> I have created an admin generated module in my backend "myclass" based
> on Myclass.cla