Home › Forums › General Issues › Radio Button Values › Reply To: Radio Button Values
Hi,
This is how I did it:
if (get_field('field_name') == 'Field Value') {
// code to run if the above is true
} else if (get_field('other_field_name') == 'Other Field Value') {
// more code
}
If you still can’t get it, let me know here.
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.