# About conditional logic

**URL:** <https://community.gravityforms.com/t/about-conditional-logic/14168>\
**Category:** Get Help\
**Tags:** radio-buttons, checkboxes, limit-checkboxes, gravity-wiz\
**Created:** [January 3, 2023, 3:13pm UTC](https://community.gravityforms.com/t/about-conditional-logic/14168 "2023-01-03T15:13:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5b0f8d0ec42ab2.1](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@user5b0f8d0ec42ab2.1](https://community.gravityforms.com/u/user5b0f8d0ec42ab2.1)\
**Post date:** [January 3, 2023, 3:13pm UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/1 "2023-01-03T15:13:11Z")

</div>

Hi all,  
Thank you for reading my first post.  
I’m french and could make some language errors.Sorry for that.  
This is a reservation form for cooking classes.  
There are fields named : “Choississez vos quatre recettes”.  
Meaning " Choose your 4 recipes" and inside several choices  
1a 1b 2a 2b etc.  
I don’t want people to tick 1a+1b or 2a+2b,but 1a or 1b, 2a or 2b etc  
Not sure I make myself understood but… 🙂  
Is there a way I can prevent them of doing that ?  
custom css class or else.  
My site is here and there is a button to translate it in english.  
[https://www.chiangmai-cooking.com/reservations/](https://www.chiangmai-cooking.com/reservations/)  
Just tick “le matin” (morning) and you’ll see what I’m talking about.

Thank you very much for your help  
Daniel

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 3, 2023, 6:13pm UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/2 "2023-01-03T18:13:06Z")

</div>

Hi Daniel. If you use radio buttons, you will force a choice from 1 and a choice from 2. They could not select 1a and 1b. They would need to select 1a or 1b, and then in field 2, 2a or 2b. They would need one choice selected from each radio button field. With checkbox fields as you currently have, they can select as many as they want, 1a and 1b simultaneously, for example.

Do radio button fields help you achieve your goal?

---

<div class="post-metadata">

**Author:** ![user5b0f8d0ec42ab2.1](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@user5b0f8d0ec42ab2.1](https://community.gravityforms.com/u/user5b0f8d0ec42ab2.1)\
**Post date:** [January 3, 2023, 9:31pm UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/3 "2023-01-03T21:31:47Z")

</div>

Hi Chris,thank you for your answer.I will try that tomorrow as it’s a bit late here in France .🙂  
I"ll keep in touch with you for sure.  
daniel

---

<div class="post-metadata">

**Author:** ![user5b0f8d0ec42ab2.1](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@user5b0f8d0ec42ab2.1](https://community.gravityforms.com/u/user5b0f8d0ec42ab2.1)\
**Post date:** [January 4, 2023, 5:13am UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/4 "2023-01-04T05:13:09Z")

</div>

Hi Chris,  
In fact The **Radio Buttons** field allows users to select one option from a list. Only one option from the available choices can be selected.For example I need to select 4 choices of the list.  
1a and not 1b  
2a and not 2b  
3c  
4a  
etc.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 5, 2023, 8:25pm UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/5 "2023-01-05T20:25:34Z")

</div>

I don’t quiet understand the requirements yet, but can you use one radio button for the 1 choices (a,b,c,d) and one radio button for the 2 choices (a,b,c,d) and one radio button for the 3 choices (a,b,c,d) and the last radio button field for the 4 choices (a,b,c,d). That would ensure you get one choice from 1, one choice from 2, one from 3 and one from 4. If that does not meet your requirements, can you show more of what your requirements are? Thank you.

---

<div class="post-metadata">

**Author:** ![user5b0f8d0ec42ab2.1](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@user5b0f8d0ec42ab2.1](https://community.gravityforms.com/u/user5b0f8d0ec42ab2.1)\
**Post date:** [January 6, 2023, 4:21am UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/6 "2023-01-06T04:21:17Z")

</div>

Hello,  
Here is what people see :

 ![1a1b](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/2/228b83515f950fa44af11f7ac683eefaed53b025.png)  
Limits of four choices are already put by this Perk :  
 ![limits](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/6/694359c1d9ba54143c433fc3f4f1313db0ffb5aa.png)  
People should check 1a OR 1b,2a OR 2b  
How to force them to do so ?  
Daniel

---

<div class="post-metadata">

**Author:** ![user5b0f8d0ec42ab2.1](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@user5b0f8d0ec42ab2.1](https://community.gravityforms.com/u/user5b0f8d0ec42ab2.1)\
**Post date:** [January 20, 2023, 3:16am UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/7 "2023-01-20T03:16:46Z")

</div>

Hi Chris,  
I suppose you did not find a solution to my issue.Thank you anyway for trying.  
Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [February 19, 2023, 3:17am UTC](https://community.gravityforms.com/t/about-conditional-logic/14168/8 "2023-02-19T03:17:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
