Hi. In Phalcon I am using .volt for view purpose. In that I have the multiple checkboxes. How could I read the checkbox vlues from .volt to .controller fie?
Actually from View I am getting values to the Controller (By $this-request-getPost('')) but when I am trying to get the multiple checkbox values from a form I am unable to get all the values from view controller( and Here I would to know that how could we check whether checkbox is checked (or) not in controller).
Hope this give more clarity of my question. Thank you
the above one is in loop. Now how could I get the all the checkbox details in controller. In controller I am using $_REQUEST('myClass') I am getting only once check box info but not all the checkboxes info. I need to get all checkboxes info.
Thank you Izo and Aditya Y Pradhana . Yes you guyss are right for name paramter I need to give the '[]'.
'{{ check_field( 'name':'myClass[]', 'data-size':'big', 'id':'id'~studentInfo.id, 'value':studentInfo.id) }}'
Now I am getting the values as array. Thanks for your help friends :)