Home › Forums › Backend Issues (wp-admin) › Some field values are not saving › Reply To: Some field values are not saving
Hi @daryn
Yes, the problem is that you have 2 fields with the same field name.
ACF saves the value in the database using the field name, not the field_key.
This allows you to use meta_queries.
Please make all field names unique that appear on the same edit screen.
Thinking about the front end. How would you load the data if the field names are the same? get_field(‘title’) – which title would it know to load?
Thanks
E
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.