Get a Value from an Entry (Using Repeater Fields)

By: Pablo Gutierrez | Asked: 09/25/2023
ForumsCategory: General questionsGet a Value from an Entry (Using Repeater Fields)
Pablo Gutierrez asked 7 months ago

Hi!

We have 2 forms (Form A and Form B) for our users.

When filling Form B, most of the fields are the same as Form A so we are using the [frm-field-value field_id=x user_id=current] shortcode to prefill those fields. It works great.

However, we don't know how to prefill repeater fields from Form B that are the same as the repeater fields of Form A. 

We saw this custom function in Formidable Forms documentation, but we believe is not pulling data from another form (it just sets specific values for the repetar field): https://formidableforms.com/knowledgebase/frm_setup_new_fields_vars/#kb-auto-populate-multiple-rows-in-a-repeater

Is there any way to accomplish this?

Thanks a LOT!

2 Answers
Victor Font answered 7 months ago
If you know the entry id(s) of the repeater field rows, you can use this: https://formidableforms.com/knowledgebase/get-a-value-from-an-entry/#kb-get-a-value-by-entry-id
Pablo Gutierrez answered 7 months ago

Hi @Victor Font ,Thanks for your help. Can you please guide a bit more with your suggestion? 1. How could I get the entry id(s) of the repeater field rows?2. Once obtained, how could I "integrate" both Repeater Fields (Form A and Form B)?Thanks for your time and support.

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