Skip Navigation

[Resolved] Form on every Custm Post

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 8 replies, has 2 voices.

Last updated by Minesh 1 year, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2648015

I try to realize a small Film Festival Page with CPT for Films. I need an autamatic Form placed under every Post relatet to this post (maybe Post Title shows in received Mails) to book tickets. I don´t want to use woo commerce to realize that . Is there an easy solution?

best regards

#2648251

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

you should create a single post content template and build your content template as required and then create a post form for your post type to add new post and then setup notifications with that form and then add the form to your single post content template.

Please check the following doc that might help you:
- https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/
- https://toolset.com/course-lesson/front-end-forms-for-adding-content/#displaying-toolset-forms
- https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/

In addition to that - you can try to follow the any course that we offer that might help you:
- https://toolset.com/course/

Please let me know if you will require further assistance.

#2650665

Hi,
thx for your help.

I have installed a post form with a heading made up of certain fields that have already been filled out by the editor. I'm now trying to hide a conditional group if a certain field doesn't already have content. How can I achieve this.

I have 6 fields for film dates and locations and 6 fields for the number of tickets. There are not always all 6 film dates for a post, so the fields for the number of tickets are not allowed to appear either.

Here is an example where there are 2 dates for films but all ticket selection fields are displayed: hidden link

best regards

#2650685

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked the URL you shared but still I'm not sure what fields you would like to hide or not display.

Can you please tell me with the following example URL:
- hidden link

What fields you do not want to display and why?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2650721

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you added the default option with the value "11" for your dropdown custom field. Is there any reason you added "11" as your default option value?
- hidden link

What if you compare with "11" with your conditional block.

#2650729

I think I can do without 11 as default, but I don't understand exactly what you're trying to do.

#2651139

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

What if you add a HTML content from the "Extra Elements" section available on right sidebar when editing your form and add the conditional statement to it to check the empty field value.

For Example:

[wpv-conditional if="( $(wpcf-seinteleiste-spieltermine-zeit-und-ort-3) ne '' )"]
      [cred_field field='anzahl-tickets3' force_type='field' class='form-control' output='bootstrap']
[/wpv-conditional]

You can adjust the code for your other required field and add conditional statement as required.

#2651569

Hi,

thank you so much. This could be the solution. But now i have the Problem that some fields are not showing in notification mail.
I need the Post title in Mail but the [wpv-post-title] does not work
an i need to show the fields [types field='seinteleiste-spieltermine-zeit-und-ort-2'][/types] this dows not work to.

Any Ideas

Ticketbestellung Filmfestival 2023 [wpv-post-title](****does not work) von [types field='vorname-name']

Name: [types field='vorname-name'][/types]
E-Mail: [types field='e-mail'][/types]

[types field='seinteleiste-spieltermine-zeit-und-ort-2'][/types] (****does not work)
[types field='anzahl-tickets2'][/types]

#2652469

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

May I kindly you to open a new ticket with every new question you may have. This will help other users searching on the forum as well as help us to write correct problem resolution summery.

For now, you can mark this ticket resolved and I will split the ticket with your new question. We will continue with the following split ticket:
- https://toolset.com/forums/topic/split-form-on-every-custm-post-display-custom-fields-with-email-notification/