Wednesday, September 5, 2012

Populating Checkboxes from array having key value pair


Hi All,

I have a From which contains only checkbox with different Attributes.I have  a array with key value pair of name of the  input field and check box values and i have passed the same to the view.

Now how can i populate the checked to the form by the array or i have to check them one by one for every field.  

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: