# Checkbox conditional logic

**URL:** <https://community.gravityforms.com/t/checkbox-conditional-logic/6601>\
**Category:** Get Help\
**Tags:** gravity-wiz\
**Created:** [October 23, 2020, 7:48pm UTC](https://community.gravityforms.com/t/checkbox-conditional-logic/6601 "2020-10-23T19:48:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user59f20beb9a14d8.6](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user59f20beb9a14d8.6/32/2160_2.png) [@user59f20beb9a14d8.6](https://community.gravityforms.com/u/user59f20beb9a14d8.6)\
**Post date:** [October 23, 2020, 7:48pm UTC](https://community.gravityforms.com/t/checkbox-conditional-logic/6601/1 "2020-10-23T19:48:43Z")

</div>

Is it possible to make checkbox field to select a specific choice as default based on user role?

Example: i have checkbox field with 2 choices let’s say “A” or “B”. The condition logic is when the user role is admin it will select “A” as a default. But when the user role is author/contributor it will select “B” as a default. Is this possible?

---

<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:** [October 23, 2020, 8:07pm UTC](https://community.gravityforms.com/t/checkbox-conditional-logic/6601/2 "2020-10-23T20:07:00Z")

</div>

Hello again. Take a look at this article from Gravity Wiz.

> **[Gravity Forms Conditional Logic Based on User Login - Gravity Wiz](https://gravitywiz.com/gravity-forms-conditional-logic-based-on-user-login/)**
>
> View DemoFebruary 22nd, 2014: Gravity Forms now supports conditional logic rules comparing against empty values. Updated the article verbiage accordingly. Have you ever wanted to conditionally show or hide a field depending on whether the user is...

It details a method for using the user login in conditional logic. You can extend this to populate the field with the user’s role, and then base the conditional logic upon that.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 5:51pm UTC](https://community.gravityforms.com/t/checkbox-conditional-logic/6601/3 "2022-01-04T17:51:51Z")

</div>


