Home › Forums › Bug Reports › Options sub-page overwriting field values on other option sub-pages › Reply To: Options sub-page overwriting field values on other option sub-pages
Yea I thought about using the clone field prefixes to work around this, but thought I should report it here since it seemed like a bug to me.
I guess whether or not this is a bug is open to interpretation and Elliot will have to decide.
Personally I feel that an individual subpage should be treated uniquely from other sub pages. This might require that values from that subpage be retrieved a bit differently, like perhaps: the_field( ‘field_name’, ‘subpage-slug’ ), instead of the_field( ‘field_name’, ‘options’ ). Or maybe the_field( ‘field_name’, array( ‘options’, ‘subpage-slug’ ) ).
In the meantime I will work around this and leave it to Elliot and team to decide if this is a bug or a feature 😉
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've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.