Fill hidden form text-field with for instance module.title

When you have a landing page with a form on it, can you fill the form with a variable/value from lets say a module on the page. So when I have a Title on the page called: ‘Hubspot course - June 2020’. Can I use the value of the title in a hidden field?

Hi @Klaasie
It’s possible you need some knowledge of Jquery you
Look here https://developers.hubspot.com/manipulating-forms-with-jquery
Manipulating forms with jQuery
And here Pass contact property values with hidden form fields Pass contact property values with hidden form fields
Let me know if any questions.
Thanks!
Ajit

Hey @Klaasie

This isnt took far from @psdtohubspot response, just a nother potential option. See link:

Thank you @psdtohubspot and @Kevin-C . I already found some parts and will dive further into your suggestions. I’m thinking about splitting a title so I can use the title of the course and the date. So when the Title is: Training - Hubspot course - 17th June 2020.
Then I want to split it in ‘Hubspot Course’ and ‘17th June 2020’ and send it to a property course_title and course_date. After that I can use it in an email.