[symfony-users] Re: Why the form isn't saved?

2009-06-06 Thread Reynier Perez Mira
Let me see your current used code please. Maybe there is still a mistake in binding request values to your form. Hi Frank: I didn't reply to you until now because I get the other form working but now I'm running a similar problem, thx for the help also. I try to override the Signin() method

[symfony-users] Re: Why the form isn't saved?

2009-06-06 Thread Frank Stelzer
When you do not have overwritten the sfGuardFormSignin then your logic fails due to the post validator of this form. Look in sfGuardValidatorUser and it should open your eyes. This validator fetches an existing user from the database and returns the cleaned data, when no user could be

[symfony-users] Re: Why the form isn't saved?

2009-06-06 Thread Reynier Perez Mira
When you do not have overwritten the sfGuardFormSignin then your logic fails due to the post validator of this form. Look in sfGuardValidatorUser and it should open your eyes. This validator fetches an existing user from the database and returns the cleaned data, when no user could be found,

[symfony-users] Re: Why the form isn't saved?

2009-05-17 Thread Frank Stelzer
Let me see your current used code please. Maybe there is still a mistake in binding request values to your form. Am 15.05.2009 um 14:29 schrieb Reynier Perez Mira: Your form is invalid, because your bind call is not correct. A missing array_merge call is missing there. Try this one:

[symfony-users] Re: Why the form isn't saved?

2009-05-15 Thread Reynier Perez Mira
Your form is invalid, because your bind call is not correct. A missing array_merge call is missing there. Try this one: You're right. I do the things as you suggested me and the form fail. What you mean with array_merge call is missing? Can you help me there? Also none error is displayed

[symfony-users] Re: Why the form isn't saved?

2009-05-14 Thread Frank Stelzer
Hi, Your form is invalid, because your bind call is not correct. A missing array_merge call is missing there. Try this one: protected function processForm(sfWebRequest $request, sfForm $form) { $form-bind( array_merge($request-getParameter($form-getName(), array() ),