Home › Forums › Backend Issues (wp-admin) › Post with custom fields: Use field name (not field key) for HTML field ID in v5 › Reply To: Post with custom fields: Use field name (not field key) for HTML field ID in v5
Thanks for the quick reply, John. There is no dependancy on the ACF JS, just the IDs and classes are needed for some show/hide logic.
I wish those changes were documented in the upgrade guide, as they break a lot of things. Ideally there would be another compatibility filter that – when enabled – outputs the old ID and class format. I liked the field names in the IDs as it made it obvious, what input field belongs to which custom field.
But I’m happy I didn’t overlook any obvious setting and will start implementing the new IDs and classes now. 🙂
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!
© 2022 Advanced Custom Fields.