Skip Navigation

[Resolved] Creating Post Inquiry Form: Auto fill fields and list of submissions

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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by leilaG 4 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#1560423

Hi, currently we use a gravity form on the post for users to submit interest, this form auto adds the post title.

We would like to replace this form with a toolset form that auto adds some of posts fields, along with other fields for the user to fill out.

Whats the best way to do this and is there a way to list all the Inquiry submissions.

Example of post listing and form - hidden link

Thanks

#1560637

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leila,

Thank you for getting in touch.

You can actually do this would our toolset Forms.

As long as the form is on the page that you want to inquire about then you can get the values to be pre-filled in the form.

To do this just add the shortcode for that field that you want in the form to the value attribute.

For e.g if you want the post title to automatically get added to a field then you would do this value='[wpv-post-title]'

Please try this and let me know if this helps.
Thanks,
Shane

#1561193

Great! Thanks Shane, we'll try that, how about listing the Inquiry submissions, is that possible?

#1561513

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leila,

You can list out the inquiry submissions using our views plugin, however is it that you want to do it.

Is it on the frontend or Backend because on the backend it should be listed under the CPT for the Inquiry.

Thanks,
Shane

#1562339

It's the backend we would like to view the form entries, where abouts would we find them?

#1562763

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leila,

When you're creating a Form for the inquiry you would first have to create the inquiry custom post type in Types. When you create the form for the inquiry CPT you will automatically have the records stored there when the form is submitted.

Please let me know if this helps.
Thanks,
Shane

#1562877

Thanks Shane, we have quite a few Post forms for different CPT's already, I'm trying to finding the records for the current ones we have but can't see any, could you please send a screen shot of where I can locate them.

#1562891

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leila,

Not possible to send a screenshot really since the posts will be on your site.

You will need to check the Post Type that your respective form is populating for you to find the record.

Lets say you create a post form to add a new post from the default wordpress post type. Then when the user submits the form on the frontend the record of that Post will be found in the Post section of the backend.

In your case if you created a post type called Inquiry and add a new form for Inquiry called, Submit Inquiry then the records would be found in the Inquiry CPT. So you would go to your dashboard and look for the Inquiry CPT on the left navigation bar.

Please let me know if this helps.
Thanks,
Shane

#1565345

Ah okay I understand what you are saying, you're talking about when a form is used to create a post, so the posts would be the list of submissions.

In this case the post is already created by us and the user is looking at the post and submitting a form to inquire about the post, but would not be creating a post, would there still be a way to store these inquiry forms?

#1565693

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leila,

Let me see if I can explain better using an example.

I have a website that is a catalog for car listing and i want users to submit their inquiry for each listing.

So I will have 2 CPT, 1 for Cars and this will be the actually listing. Another will be called Inquiry.

Now I will create a form so that users can submit an Inquiry and connect it to the Inquiry CPT. Now I can just add that Inquiry form onto my Listings template so users can submit an inquiry.

All the records of that Inquiry would be stored in the Inquiry CPT on the backend.

So if you need to check the listing of Inquiries you can go to the Inquiry Post type on the backend.

Please let me know if this is clear.

Thanks,
Shane

#1572965

Okay I understand now, a separate CPT is needed to store the form data . Thank you!