Monday, February 23, 2015

Re: CakePHP-3 Plugins form validation messages and field values

Can you show the code you are using? Use gist.github.com to show your table class, controller and form code.

On Thursday, February 19, 2015 at 7:19:22 AM UTC+1, Gaurav Kumar wrote:
I have just created a CommentManager plugin. Created the comment form in post's view.ctp file and able to add the comments. But when the values of the comment form are wrong(email format is not proper or empty) then i am not getting the validation message in front of the respected fields and the values are not refilled.

Also would like to know what would be the proper way to create a comment form inside a view file of posts.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: