php - How to set default value for form field in Symfony2? -


is there easy way set default value text form field?

can use during creation :

->add('myfield', 'text', array(      'label' => 'field',      'data' => 'default value' )) 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -