Home › Forums › General Issues › How to change the Filter text "select taxonomy" to "Select city"? › Reply To: How to change the Filter text "select taxonomy" to "Select city"?
I found how to do this with jquery
jQuery(document).ready(function($) {
var strNewString = $('#FIELDID').html().replace(/\Select taxonomy/g,'NEW TEXT');
$('#FIELDID').html(strNewString);
});
Replace the #FIELDID with the field id this is in #acf-field_#####
Replace the NEW TEXT with the text you want to show
I have a custom scrip page but you could add it inside script tags on the page that is loading the form.
I hope this helps someone as I was searching all the wrong places for this.
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.