Title: Conditional logic with simple relation field
Last modified: December 29, 2023

---

# Conditional logic with simple relation field

 *  Resolved [ominem](https://wordpress.org/support/users/ominem/)
 * (@ominem)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/conditional-logic-with-simple-relation-field/)
 * Hi I have a Pod that has a simple relation field with 2 values:
   <span style=”
   text-decoration: underline;”>**GuidesTours</span>and another field that has to
   show up in the pod form only if <span style=”text-decoration: underline;”>Tours
   </span> is selected. I added in the conditional logic option of the field the
   following:[Type of guide] -> [is (id/value)] -> [Tours]that, didn’t work. When
   I change the option to:[Type of guide] -> [is not blank]works perfectly when 
   I select any of the options.
 * What should be the value for the option to work only if Tours is selected?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-with-simple-relation-field/#post-17367139)
 * Hi [@ominem](https://wordpress.org/support/users/ominem/),
 * The value depends on the actual value of the first select option. This needs 
   to be the value, not the label.
 * Cheers, Jory
 *  Thread Starter [ominem](https://wordpress.org/support/users/ominem/)
 * (@ominem)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-with-simple-relation-field/#post-17368507)
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conditional logic with simple relation field’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [conditional logic](https://wordpress.org/support/topic-tag/conditional-logic/)

 * 2 replies
 * 2 participants
 * Last reply from: [ominem](https://wordpress.org/support/users/ominem/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-with-simple-relation-field/#post-17368507)
 * Status: resolved