Home › Forums › Add-ons › Repeater Field › Show field x if field y contains… › Reply To: Show field x if field y contains…
Thanks John
I have to admit, I’ve never used Switch statements so I’ll have to take a proper look at them.
The code you’ve provided looks like it’ll do the trick.
My last issue is that each url has a unique property identifier on it.
i.e. booking.com?propID=1234
I’ll have to try it out and see if I can use wildcards / regex within ACF.
Thanks again for your help
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.