Tuesday, December 22, 2015

Re: How to unset field value of a post edit view

You need to be more specific.
Also, your forms should always preserve the correct state on post, and should preset on get with DB values etc.

Failing to do so will get you in trouble.
Mark


Am Dienstag, 22. Dezember 2015 11:39:13 UTC+1 schrieb Amit Gora:
i am using checkbox array in my form and save their values "," separated in database. so when i go into edit view of this post then it`s get default value of field which is set by controller so i want to disable it for some fields. how i can do it??

--
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 https://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: