create entry with repeater via api

By: Impact Dev | Asked: 09/13/2023
ForumsCategory: General questionscreate entry with repeater via api
Impact Dev asked 1 year ago

Good morning,
I have a WordPress website with an formidable plugin installed. My goal is to add entries from a Symfony application using the formidable API.
I've managed to post a simple input entry successfully, but I've encountered a challenge with repeaters. Would you like to help me?"
Thank you.
Sincerely,
IMPACTDEV

Attachments
1 Answers
Victor Font answered 1 year ago
Because repeater fields are in reality embedded forms, they'll have a different form id. You have to add rows directly to the repeater.
Impact Dev replied 1 year ago

<p>What do you mean by 'directly to the repeater'? Is there no solution available via an API? Even when I bind 'item_parent_item,' the entries of the repeater do not appear in the main entry.</p>

Victor Font replied 1 year ago

You misunderstood me. I didn't say not to use the API. Repeaters have their own form id. Instead of using form id 2 in your code, use the form id for the repeater.

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