Skip Navigation

[Closed] Post Form

This support ticket is created 4 years, 8 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.

Our next available supporter will start replying to tickets in about 6.06 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 4 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1567955
3_3_Dialogue Circles – 1.png

Hi, I have post type called dialogue circles and I would like to create a booking form that will reference the title of the dialogue circles that user books for.

So to be clear I don't want to create a form to edit a dialogue circle but just form where they can add their name a time and then when the form is submitted it needs to include in the submission the name of the dialogue circles that they have booked for.

I have attached an images and you can follow this link to see the dialogue circles. hidden link

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1568349

Hello, it depends on how you want to store a "Booking" in your site. Is a Booking a custom post type in a parent-child relationship with the Dialogue Circle post type? Or is a Booking one row of an RFG in the Dialogue Circle post type? Or is a booking some other 3rd-party plugin concept?

If it's a child post type in a relationship with the parent Dialogue Circle post type, then you would create a new post Form and predefine the parent Dialogue Circle by setting the "value" attribute in the parent field. Then you can use CSS to hide that field in the Form editor, in expert mode.

Which case sounds most like what you expect?

#1570437

Hi, Cristian, I hope you are well today. I think it will have a parent-child relationship. I have one question, do I need to create a custom post for the Dialogue Circle post form submissions? To answer your question the Dialogue Circles are developed with Toolset and the booking form. I think it is more simple this way.

#1571383

I have one question, do I need to create a custom post for the Dialogue Circle post form submissions?
This is one option, but it is not the only option.

If you do not want to save Booking information anywhere on the site, there is a simpler option. You can use an Edit Dialogue Circle Post Form and delete the visible input fields from the Form editor (expert mode). You can configure it to send a notification with the booking information to some User, but not modify the original post in any way. This option is very simple but there is no record of bookings in the database. The only history of that booking is in emails.

Another option is to create a Repeatable Field Group inside the Dialogue Circle post type. Then use Forms to allow your site visitors to create one row in this Repeatable Field Group. When you use this setup, it does not create a custom post type in the main WordPress Menu, it only adds Repeatable Field Groups inside the Dialogue Circle post type. Each of these options has different uses, and offers different features. One critical difference is RFGs can only be associated with one post. If you use a custom post type instead of an RFG, that post can be connected to more than one other post type.

Repeatable Field Groups are a fairly new feature in Toolset. You can find more information about Repeatable Field Groups here:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/

The topic ‘[Closed] Post Form’ is closed to new replies.