# Conditional logic with a data set

**URL:** <https://community.gravityforms.com/t/conditional-logic-with-a-data-set/283>\
**Category:** Get Help\
**Tags:** gform\_field\_validation, conditional-logic, has-ticket\
**Created:** [November 3, 2018, 7:09pm UTC](https://community.gravityforms.com/t/conditional-logic-with-a-data-set/283 "2018-11-03T19:09:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![okcomputer](https://avatars.discourse-cdn.com/v4/letter/o/b38774/32.png) [@okcomputer](https://community.gravityforms.com/u/okcomputer)\
**Post date:** [November 12, 2018, 6:22pm UTC](https://community.gravityforms.com/t/conditional-logic-with-a-data-set/283/3 "2018-11-12T18:22:50Z")

</div>

Hi Chris,

Thanks for your response. I found a previous thread that was trying to accomplish something similar, except with codes rather than text. This is the thread: [http://www.gravityhelp.com/forums/topic/database-look-up-validation](http://www.gravityhelp.com/forums/topic/database-look-up-validation). Would I be able to adjust this code to fit my needs?

Thanks again!

---

_[View the full topic](https://community.gravityforms.com/t/conditional-logic-with-a-data-set/283)._
