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
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
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.
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....
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/