Skip Navigation

[Resolved] How to populate a feedback form dynamically with custom repeatable fields

This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#2287859

Tell us what you are trying to do?
We handle concerts via a CPT "concerts". They have all sorts of CF, interesting for this is the title which holds the name of the concert and a repeatable field group called "dates" (Termine in german)
Now i show concerts on the website. On every detail page there should be a form on the bottom that allows the visitor to reserve 1-5 seats on a specific date. The possible dates are stored in the repeatable fieldgroup, the individual dates therein are named "datum_termin".
As i understood i need a new CPT "reservations" (Buchungen in german) and a form. I alread did this form with the visual builder but am stuck at how to fill a hidden field with the concert title and prefill a select field with the dates (datum_termin) available for the concert page i am already on.

Is there any documentation that you are following?
Read the Gutenberg form builder pages, some support articles but still confused

Is there a similar example that we can see?
Every webpage that has a partly prepopulated form beneath a detail page

What is the link to your site?
{link removed}

#2288465

Hi,

Thank you for contacting us and I'd be happy to assist.

Based on what you've shared, this will require some workaround and possibly some custom code, as well.

Can you please share temporary admin login details, so that I can see how this repeatable field group and the reservation form are set up in the admin area? Also, include the link to the page with the form.

I"ll be in a better position to guide you with the next steps, accordingly.

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2288491

My issue is resolved now. Thank you Waqar!