Jump to content
  • 0

Multiple Checkboxes in Submission Form, at least one must be checked


Leon13

Question

Greetings :)
My workflow requires a user to select at least one of the time-slots below.

Currently, the page allows the user just to click Submit and completely bypasses checking a checkbox.

Thank you in advance for any creative logic/guidance offered.
(All below are Text fields, configured as checkboxes.)

image.png.533aa435e820cdd860024c62cc33cc6d.png

Edited by Leon13
Typo
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
13 hours ago, Meekeee said:

Hi @Leon13 - do you have specific criteria for these checkboxes? Or are they all required? Or just check either Morning, Afternoon, or Evening? Have you tried to use Conditional forms perhaps that will make it required? 

Hi @Meekeee, thank you for your response!
Only criteria is that the user should at least check one. They should never be able to submit the form without at least one time selected.

Link to comment
Share on other sites

  • 0

My idea on this one is I'm going to create a hidden calculated value with a query that checks all of those checkbox 1 by one. 

Like

case
when [@field:check1] = 1 then 1
when [@field:check2] = 1 then 1
.

.

.

end

With this, if none of them is checked, the calculated value will return blank which will then prevent submissions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...