Skip Navigation

[Resolved] Form question

This support ticket is created 4 years, 7 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 6 replies, has 2 voices.

Last updated by eugeneI 4 years, 7 months ago.

Assisted by: Beda.

Author
Posts
#1599849

Tell us what you are trying to do?
I'm building a booking form

Is there any documentation that you are following?
Yes, I follow this:

https://toolset.com/documentation/user-guides/front-end-forms/creating-woocommerce-products-using-cred-forms/

https://toolset.com/documentation/user-guides/front-end-forms/automated-email-notifications-with-cred/

Is there a similar example that we can see?
Yes, try hidden link

What is the link to your site?

hidden link

My PROBLEM:

When the form arrives to my inbox, I don't get any info like the name, email, how many people or date, although I have "%%FORM_DATA%%" placeholder inserted in E-mail Notifications "Notification e-mail body" field

#1600405

Can you export the Forms in Toolset > Export / Import > Forms > Export Forms >
Export All Post Forms and send to me the ZIP it will create?

I can then deploy that form on my site and quickly see what you added to the form, and what should display in the notification.
Please ensure before exporting, that in Toolset > Settings > Forms > Export both options are checked.

This will allow me to immediately see what you see and give the best possible solution.

Thanks!

#1600703

All the fields in that Form are generic - not Toolst Types fields, and hence won't be saved in the database.
This is also the reason why you don't see that data in the notifications, as it does not exist.

I suggest either creating "real" fields in Toolset > Types and use those, or, persist the Generic Fields (but that feature was deprecated a while ago and only intended for backwards compatibility solutions, or to take the value from the generic fields and update the post fields with code.

However, the easiest is to create Fields with Toolset Types and then use those for the Form

#1600705

Thank you Beda.
I apologize for 'noob' questions, but I'm trying hard to figure out how things work.
Tell me if I'm doing something wrong, but I don't see Toolset>Types anywhere. I only see Toolset>Post Types. Is this where I have to create custom fields? Or do I go to Dashboard? How do I insert them in the form?

#1601401

Thank you again, Beda. I have figured things I asked in my last message, so it works

#1603773

I'm sorry, that was my mistake, it should say:
I suggest either creating "real" fields in Toolset > Custom Fields and use those, or, persist the Generic Fields (but that feature was deprecated a while ago and only intended for backwards compatibility solutions, or to take the value from the generic fields and update the post fields with code.

The Custom Fields Screen I mean where you can create new Custom Field Groups and then fields in those is here:
(your-site.com)/wp-admin/admin.php?page=types-custom-fields

Please let me know if you need more details!

#1604049

Thanks a lot, Beda. Appreciate the follow up. Stay safe