Home › Forums › Backend Issues (wp-admin) › Transform text input to uppercase in back-end › Reply To: Transform text input to uppercase in back-end
There is nothing built into ACF that will do this. You would need to do your own custom JS https://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/.
While you might want this done in the admin the better solution is to use css text-transform on the front end. The only reason I can see for enforcing upper case in the admin is because that’s the way you want it shown on the front of the site.
If you cannot edit the CSS file in your theme then you could also use an acf/format_value filter to apply strtoupper() to a specific field.
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.