Home › Forums › Front-end Issues › Select -> Conditional field values stored and are overlapping › Reply To: Select -> Conditional field values stored and are overlapping
The select field
push_notification_type can only hold 1 value at 1 time, so your above code featuring the
else statements, should work correctly.
Only 1 of those statements will be true, and then only 1 of the actions will be run (the_field).
I can’t explain why you are seeing 2 urls. Perhaps you need to debug the code to make sure the the_field values are correct.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.