Ensuring all checkboxes in a checkbox field have been checked

By: Carole Hayes | Asked: 03/03/2023
ForumsCategory: How-toEnsuring all checkboxes in a checkbox field have been checked
Carole Hayes asked 2 years ago
Hi. I've searched on this question three or four different ways now and I'm not seeing my particular question.  If it's easy and I'm embarrassing myself, so be it. I'm wanting to create two or three checkbox terms and conditions that must all be ticked before the submit button appears. I already see how to do the conditional logic on the submit button.  It's the logic I need to apply to the checkbox field that I'm not following. If I have a checkbox field with multiple boxes, what logic do I choose/use in the conditional to ensure that all the boxes have been ticked? Thanks, Clint Hayes
Walter JonesWalter Jones replied 2 years ago

Set the logic the same for each check box and make sure it set to show submit if ALL.

Check Box A equals Smith
Check Box A equals Jones
Check Box A equals Johnson

Make sense?

Carole Hayes replied 2 years ago

<p>Good grief.  Yes, I see.  Honestly I didn't realize the last box in the conditional would show me each of the checkbox answers for me to check.  By the conditionals—"equals," "does not equal"—I thought it was going to need numbers, so I was going to have to use separate fields or the like.</p><p>Thanks for humoring my embarrassing lack of due diligence.</p><p>Clint</p>

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right