Skip Navigation

[Resolved] Capture toolset custom field value in Forminator Pro form submission

This support ticket is created 4 years 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 – 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 3 voices.

Last updated by Luo Yang 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1918323

I have a custom event type that has a field called Course Code. Each event has a unique course code.

On my site i have events listed and a form available for members to book onto each course. I have a hidden field for each event that contains the course code

The issue is when the form is completed and all the form details are sent through the course codeis blank. I think i have to pass a parameter through for the form to collect the data but no idea what to add in here?

Any help would be great!

hidden link

#1918479

Hi,

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

To troubleshoot this, I'll need to see how this form is set up in the admin area.

Can you please share temporary admin login details, in reply to this message?

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

regards,
Waqar

#1932715

Hello,

Waqar is on vacation, I will take care of this thread.

I have tried the credentials you provided above, it is not valid, I get below error messages:

ERROR: The password you entered for the username toolsetadmin is incorrect

For the question:

I think i have to pass a parameter through for the form to collect the data but no idea what to add in here?

I assume we are talking about a custom field "Course Code" created with Toolset Types plugin, if it is, Toolset Types plugin will prepend "wpcf-" before the field slug, for example, if your custom field slug is "course-code", in the WordPress database, the custom field meta "meta_key" value is "wpcf-course-code", so you will need to save the value into field "wpcf-course-code" in your Forminator Pro form settings.

#1933509
Screenshot 2021-02-04 135324.png

Apologies if you can give me another private reply i will change and update the login details.

You are on absolutely the right line though... I added wpcf- before the custom value in the form field but the response on the email i receive from the form just shows that custom value like this...

Course Title
COUNCILLOR TRAINING FOR TOWN & PARISH COUNCILS March 11th 3pm Session
Event Date and Time
wpcf-eventdatetime
Course Code
wpcf-course-code

I have attached a screenshot of the form backend....

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/custom-fields-in-forminator-pro-form-email-notification/

#1934455

I assume the original question of this thread is resolved, according to our support policy, we prefer one ticket one question.

For other new questions, please check the new thread here:
https://toolset.com/forums/topic/custom-fields-in-forminator-pro-form-email-notification/