# How to set condition based on values of ACF "Select" Field type

**URL:** <https://forum.pinegrow.com/t/how-to-set-condition-based-on-values-of-acf-select-field-type/8896>\
**Category:** WordPress\
**Created:** [May 2, 2024, 4:48pm UTC](https://forum.pinegrow.com/t/how-to-set-condition-based-on-values-of-acf-select-field-type/8896 "2024-05-02T16:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisUT](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@ChrisUT](https://forum.pinegrow.com/u/ChrisUT)\
**Post date:** [May 2, 2024, 4:48pm UTC](https://forum.pinegrow.com/t/how-to-set-condition-based-on-values-of-acf-select-field-type/8896/1 "2024-05-02T16:48:44Z")

</div>

I’m trying to show / hide a button element based on whether or not a specific value is selected in an ACF “Select” Field type on an Options page.

Basically, I need to know how to modify this code: get\_field( ‘field\_value’, ‘options’ )

Attached is a screenshot of the field I have set up. I want to show a button if the ‘Link to Booking Page’ option is selected.

Any ideas on how to do this?

 ![Screenshot 2024-05-02 at 10.37.12 AM](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/7/774cfdd4b6c9c080d093c681f1299fbf435bb8ad.png)

---

<div class="post-metadata">

**Author:** ![ChrisUT](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@ChrisUT](https://forum.pinegrow.com/u/ChrisUT)\
**Post date:** [May 3, 2024, 3:28pm UTC](https://forum.pinegrow.com/t/how-to-set-condition-based-on-values-of-acf-select-field-type/8896/2 "2024-05-03T15:28:12Z")

</div>

If anyone can do this for me, I’d be willing to pay them. I’d love to have someone that can do this type of stuff for me so I don’t have to spend hours researching and posting here for help.

If you’re interested let me know. Thanks!
