This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » How to know which field of a form is invalid?
How to know which field of a form is invalid? [message #103043] Sun, 25 July 2010 04:44 Go to next message
jstuardo  is currently offline jstuardo
Messages: 49
Registered: May 2010
Location: Santiago
Member
Hello.... constantly I receive errors that a form is invalid. The only information I have is that $form->isValid () call returns false. In order to know which field caused the error, I have to debug the sfForm class. Is there a more direct way to do that?

Thanks
Jaime


Symfony 1.4
Re: How to know which field of a form is invalid? [message #103051 is a reply to message #103043 ] Sun, 25 July 2010 12:04 Go to previous message
xplo  is currently offline xplo
Messages: 428
Registered: September 2008
Faithful Member
yes the sfwebdebugbar show in orange the invalid field.
Previous Topic:Symfony 1.4 - Query external MySQL database
Next Topic:Propel error 10038 Attempt to initiate a new SQL Server operation with results pending
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software