Lorenzo,

I got the problem and the solution both. The problem was happening because 
of page reload. So now with the help of session i can fix that or I got 
modelless forms in cakephp which is also providing the solution. thanks for 
you help.

On Monday, February 23, 2015 at 1:57:41 PM UTC+5:30, José Lorenzo wrote:
>
> 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+unsubscr...@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.

Reply via email to