I have created a form in Contact Form 7 on WordPress which uses checkboxes. The checkboxes have the ‘exclusive‘ feature enabled so that you can only select one checkbox. I have ensured that the ordering of all the labels is correct because CF7 is very strict about this. But it’s still allowing multiple selections. Any idea what could be causing this issue?
Leave a Reply
You must be logged in to post a comment.
First, be sure that your code follows the format:
Secondly, if the page has not fully loaded, and you make selections, you will still have the ability to select multiple checkboxes.
Try to remove any render-blocking javascripts and compress images to reduce this undesirable result.
Had similar problem: checkbox exclusive also didn’t work for me because of theme’s CSS which didn’t support it.
I also wanted non-mandatory radio selection for the form. I managed to overcome the problem by using one more “empty” field:
In CSS i added:
By selecting first “empty” choice, this effectively made radio non-required in validation.