When I create a checkbox input in a form in this way $form_helper->check_box("person", "single"), it is supposed that "person" is an object, but how can I access to that object?. What do I have to write in the controller to assign that object.
Thanks. Saludos.
CommentAuthordpinte
in your controller, you must either create the object from scratch or load it from the database. For example, if you have a Person model and ther person_id :