Home › Forums › General Issues › Use selected checkbox values in a URL › Reply To: Use selected checkbox values in a URL
Hi Elliot,
Thanks for the response.
Yup, there will often be multiple values selected, and I’d like them to point to different URLs.
For example, if there are 5 regions available in the checkbox list (a – e), and Joe works in 3 of them (a, b and d) I’d like the output to be:
“Joe is available in: a b d”
with the a b and d text linking to the respective area pages (http://test/inhouse/a, http://test/inhouse/b and http://test/inhouse/d)
If Jane only works in area c, then the output would be:
“Jane is available in: c”
with the c linking to http://test/inhouse/c
Cheers,
Lerq
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.