I have a group of checkboxes like so
<input type="checkbox" name="categories[]" value="architectural" id="architectural" data-parsley-errors-container="#checkError" required>
<input type="checkbox" name="categories[]" value="support" id="support" data-parsley-errors-container="#checkError" required>
<input type="checkbox" name="categories[]" value="government" id="government" data-parsley-errors-container="#checkError" required>
<input type="checkbox" name="categories[]" value="consulting" id="consulting" data-parsley-errors-container="#checkError" required>
I need to represent the individual categories in the user profiles that the form creates and i need them to have the same name for validation purposes, i am unsure of how to go about this and would love some input.
Thanks in advance.