http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_01_sub_defining_default_values_for_fields
On Fri, Nov 20, 2009 at 12:39 AM, gato chlr <[email protected]> wrote: > hi! > > How to set the Html 'value' attribute from a sfWidgetFormInputHidden > > i mean, > $a = new sfWidgetFormInputHidden(); > how can i do somthing like $a->setValue($myValue); > > so ,when i print the $form (echo $form) > the html printed result as next: > > ...... > <input type="hidden" id="myId" value="myValue"> > ...... > > Thanks a lot > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=. > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=.
