The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
View recent entry from a repeated section.
Hi everyone!
I'm working on a Order Form that redirects to a Order Summary after Submit. On the form, I used repeated section so the customer can add as many items.
My issue is I can't grab a the items from a specific Entry key for the view. This are the things I tried.
- A view on the repeated section, single entry, order Entry Key to descending. > It gave a single item even though there are many items sent.
- A view on the parent section, single entry, order Entry Key to descending. > Got all the items but not organized on a table form.
- A view on the repeat section, all entries, filter Entry key equal to [get param=entry_key default="none"]. > No entries found.
- A view on the parent section, all entries, filter Entry key equal to [get param=entry_key default="none"]. > Got all the items but not organized on a table form.
Here's a link to my form : http://bryangumpic.com/farmer/order/
and my view: http://bryangumpic.com/farmer/order-preview/
Please help! Thanks in advance.
July 14, 2017 at 5:29 am
A repeatable section is essentially a form within a form where each row is an individual entry. The entry keys for each entry will therefore be unique and will not match up to the parent form. You have to display the entries based on the parent ID.
To make this work, create a view based on the repeatable section: https://formidableforms.com/knowledgebase/create-a-view/#kb-create-a-view-from-a-repeatable-section
Once you create the repeatable section view, you can display it in the Order Summary view with a shortcode:
[display-frm-data id="726" filter=1 parent_id="[id]"]
July 14, 2017 at 11:07 am
I've been reading through the documentation but still can't make it work.
I'm trying to display the items only recently submitted. Is there a way to make a filter for that?
I experimented a lot but it keeps giving me all items from the database or just one item.
July 14, 2017 at 11:52 am
Got it to work! I used the [foreach] shortcode then filter it with the parent Id. Thanks.
Discussion closed.