I don't have a search controller. My search() action is in my Plan controller.
The validation works, but naturally directs to the plan/search(.ctp) view file which of course displays 0 results, but the validation message appears just fine. I just don't want the search.ctp file to display prior to the form validating - the element (that contains the form) should "stand alone" or appear that way until validation happens - then the search page can be displayed. This way no matter where I put the form it can validate stand-alone and only search when in fact validated.
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment