Support

Account

Home Forums ACF PRO Clone single field name conflict Reply To: Clone single field name conflict

  • All field names need to be unique on the page where they are used.

    A clone field works in a similar fashion to a repeater field if you use the “Prefix Field Names” setting.

    Let’s say that you have a clone field named “clone_field” and you are cloning a single field with the name “text_field”.

    If you set Prefix Field Names to “No” then the value of this field will be stored in the DB with the meta_key of “text_field”. If you clone this multiple times on the same page then there will be multiple fields with the same name and this will lead to conflict between them.

    If you set Prefix Field names to “Yes” then this field would be saved with a meta_key of “clone_field_text_field”, removing the conflict.