I have a checkboxes group with 20 items in the group. How can I break them down to two columns in the frontend?
Forums
How to place a long list of checkbox group in two columns
Hi omidhz,
I didn't try that before but you can use 2 groups of checkboxes in a multi fields area but give the 2 groups the SAME NAME.
Best regards,
Max
I didn't try that before but you can use 2 groups of checkboxes in a multi fields area but give the 2 groups the SAME NAME.
Best regards,
Max
I need the user to select at least one option from the group. If I make two separate groups, I'm not sure how to enforce this validation.
I tried to use server side validation (Validation action in Setup): I used the following two codes but both generated an error (my checkboxes group name is condition[] )
I tried to use server side validation (Validation action in Setup): I used the following two codes but both generated an error (my checkboxes group name is condition[] )
condition/minChecked[1]:Please select at least one option.
condition[]/minChecked[1]:Please select at least one option.
What happens when you give the 2 groups the same name and id ? the client validation does not work ?
The server validation will use "required":
field_name/required:message
Best regards,
Max
The server validation will use "required":
field_name/required:message
Best regards,
Max
This topic is locked and no more replies can be posted.