Re: [symfony-users] Re: Capturing Widget value on a form

2010-08-09 Thread Daniel Lohse
Nice! Thanks for the heads-up. :) Sent from my iPad On Aug 9, 2010, at 6:17 PM, Ricardo Jose Guzman Milanes wrote: > Hello > > I solved this. > > It was not working because both fields were declared as primary. > -- > If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] Re: Capturing Widget value on a form

2010-08-09 Thread Ricardo Jose Guzman Milanes
Hello I solved this. It was not working because both fields were declared as primary. -- 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. T

Re: [symfony-users] Re: Capturing Widget value on a form

2010-08-08 Thread Ricardo Jose Guzman Milanes
Hello I changed both of the hidden to sfWidgetFormDoctrineChoice and in the form I included them. When I try to save a new value it says *Invalid in both fields. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this mess

Re: [symfony-users] Re: Capturing Widget value on a form

2010-08-08 Thread Ricardo Jose Guzman Milanes
Of course, here it is. http://pastebin.com/r0dQqd9Q -- 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

Re: [symfony-users] Re: Capturing Widget value on a form

2010-08-08 Thread Daniel Lohse
Those widgets should appear there by default *if* the schema is correct. Symfony adds them itself – again, *if* the schema file is correct. Can you show us the base form class (BaseAreamedicapersonaForm.class.php) in a pastebin? Cheers, Daniel On 08.08.2010, at 20:57, Ricardo Jose Guzman Milane

[symfony-users] Re: Capturing Widget value on a form

2010-08-08 Thread Ricardo Jose Guzman Milanes
Hello Daniel, Sorry for being late. I added the widgets in the form.class. I created a module based on Areamedicapersona model. In the /new action only the text values appear, That's why I added the widgets to the areamedicapersona.form.class The Widgets contain the areamedica and sfguarduser ,