Leon13 Posted December 27, 2021 Report Share Posted December 27, 2021 (edited) 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.) Edited December 27, 2021 by Leon13 Typo Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted December 27, 2021 Report Share Posted December 27, 2021 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? Quote Link to comment Share on other sites More sharing options...
0 ParkLoey Posted December 28, 2021 Report Share Posted December 28, 2021 Hey there, @Leon13 I found a similar workflow where if all checkboxes are unchecked, they prevent submission. It uses JavaScript. You may want to check if it works for you Hope this helps! - LOEY Quote Link to comment Share on other sites More sharing options...
0 Leon13 Posted December 28, 2021 Author Report Share Posted December 28, 2021 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. Quote Link to comment Share on other sites More sharing options...
0 Leon13 Posted December 28, 2021 Author Report Share Posted December 28, 2021 8 hours ago, ParkLoey said: Hey there, @Leon13 I found a similar workflow where if all checkboxes are unchecked, they prevent submission. It uses JavaScript. You may want to check if it works for you Hope this helps! - LOEY Hi @ParkLoey, thank you for sharing this! I will review, implement and advise. Quote Link to comment Share on other sites More sharing options...
0 Leon13 Posted December 28, 2021 Author Report Share Posted December 28, 2021 A post by @DefinitelyNot31337 (below) is exactly what I was hoping to find. Thanks again @ParkLoey for your guidance!! And thank you @DefinitelyNot31337 for the knowledge shared! Quote Link to comment Share on other sites More sharing options...
0 autonumber Posted January 3, 2022 Report Share Posted January 3, 2022 Hi! I just want to add this forum post I have found that might also help you. Quote Link to comment Share on other sites More sharing options...
0 NiceDuck Posted January 13, 2022 Report Share Posted January 13, 2022 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. Quote Link to comment Share on other sites More sharing options...
Question
Leon13
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.
Edited by Leon13(All below are Text fields, configured as checkboxes.)
Typo
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
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.