Hi,

I'm currently not using FormWidgets as I got some Javascript working and 
some special changes in the form. I now need to get the value of a 
FormField, which can be either the value stored in the database (when the 
edit-page is viewed without a POST) or the (wrong) data submitted by the 
user.

I understand that I can use $form['fieldName']->getValue(), but as symfony 
is almost always avoiding arrays, I'm curious if this is the correct way. I 
was looking for something like $form->getField('fieldName')->getValue().

Thanks for your help in clearing this issue.

Regards,
Sebastian

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to