tag:blogger.com,1999:blog-5201327539512161905.post2651817800183398820..comments2023-12-16T01:52:52.390-08:00Comments on Web Technology Funda: Magento: How to add checkbox field in Admin custom module form and populate the checkboxWeb Technology Fundahttp://www.blogger.com/profile/06590680045942432169noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5201327539512161905.post-9672715711652257292013-01-01T23:10:49.778-08:002013-01-01T23:10:49.778-08:00Sorry for delay ...
Please see the below example ...Sorry for delay ...<br /><br />Please see the below example to understand the $model object.<br /><br />Example: <br /><br />$model = Mage::getModel('module/model_name')->load($edt_id);<br /><br />Here in $model object we are loading the data to edit the content with respect to the ID from DB. <br /><br />And $model->getCheckboxName();// getting the checkbox field value from db<br /><br />The 'CheckboxName' is the field name of checkbox which is going to return the checkbox field value (i.e true or flase).<br /><br />Do, let me know if you have further queries.<br /><br />Thanks,<br />Web Technology Fundahttps://www.blogger.com/profile/06590680045942432169noreply@blogger.comtag:blogger.com,1999:blog-5201327539512161905.post-83113633076627353802012-10-07T06:58:38.730-07:002012-10-07T06:58:38.730-07:00What is the $model variable? You haven't defin...What is the $model variable? You haven't defined it in your code sample.Zachary Schuesslerhttp://zaclee.netnoreply@blogger.com