I was wondering how to create a multiple checkbox for a form in Phalcon ? The goal is to produce :
<input type="checkbox" name="name" value="1"/>
<input type="checkbox" name="name" value="2"/>
This two fields must be required. So, if the user doesn't check the two options, i would like that isValid function checks the already checked one.
Can anyone help me please ?