Title: Restricting Field Values
Last modified: November 25, 2024

---

# Restricting Field Values

 *  Resolved [pnconnally](https://wordpress.org/support/users/pnconnally/)
 * (@pnconnally)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/restricting-field-values/)
 * I’m building a new post type to create chapters for a fraternal organization.
   
   When creating a chapter, I want to have a field: chapter type. This field should
   only allow the following values: Undergraduate or Alumni. Based on the data entry,
   I want to use conditional logic in other fields to show/hide certain fields. 
   I’ve tried creating an additional taxonomy, but don’t see any way to restrict
   the values

Viewing 1 replies (of 1 total)

 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/restricting-field-values/#post-18345513)
 * Conditional logic does not run on relationship fields at this time, but since
   there are only two values, one can use a `Yes/No` field with the label for `Yes`
   changed to `Alumni` and the label for `No` changed to `Undergraduate`.
 * The values for conditional logic would be `1` for Yes and `0` for No.

Viewing 1 replies (of 1 total)

The topic ‘Restricting Field Values’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [pdclark](https://wordpress.org/support/users/pdclark/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/restricting-field-values/#post-18345513)
 * Status: resolved