Array CheckField

How can i create an array check field in volt?

in pure html is: <input type="checkbox" name="userChk[]" class="userDelChk" value="1" >

i tried this: {{ check_field('userChk[]', 'class':'userDelChk' , 'value':'1') }}

but when i select multiple items and tried getting the post value it only returns 1 of the selected value.


Did you checked in a HTML source what code have been generated? Copy it here.