Duplicate entry

By: Vicky James | Asked: 03/07/2025
ForumsCategory: General questionsDuplicate entry
Vicky James asked 2 weeks ago

I have a short code to duplicate entry once it's updated, everything works fine except for fields inside the repeater are missing.

2 Answers
Victor Font Staff answered 2 weeks ago

Repeaters are forms unto themselves. Repeaters field values are not part of the parent entry.

Vicky James answered 2 weeks ago

I changed the form ID to the repeater ID but that didn't work

Victor Font Staff replied 2 weeks ago

Here's a tip on Formidable's architecture. Repeaters are always processed first when an entry is submitted because repeaters are a separate form with its own batch of entries. Each repeater row is an individual repeater form entry. Each repeater entry links back to the parent entry in a one-to-many relationship model. Of course, this is a virtual entity model. Formidable stores all data using a metadata schema. This makes working with one-to-many relationship models more difficult without custom code, but this is the WordPress database standard.

Fortunately, the Formidable KnowledgeBase has starter code you can use to solve your problem: https://formidableforms.com/knowledgebase/frm_after_create_entry/#kb-create-entry-in-form-with-repeating-section

If coding at this level is beyond your skillset, I suggest you find a developer here: https://formidable-masterminds.com/developers-directory/

I also have free videos on the Formidable Masterminds homepage that may help with understanding how WordPress and Formidable Forms store their data.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right