Pass a CMS name into a form as a hidden input?

Hi,
I want to be able to be able to pass a CMS collection name, into a form but to be hidden.
How do I do this?
Basically I have a job listing page and an ‘apply here’ form at the bottom of the page. When the user applies, I want to pass the name of the job title into the form. I’ve tried using an embed code with the following code, but it doesn’t seem to work. any ideas?


Here is my public share link:

https://preview.webflow.com/preview/crossell?utm_medium=preview_link&utm_source=designer&utm_content=crossell&preview=4c849e1f8f2a93ddab263ba28cb2ca17&pageId=65b388889de42408a483020e&itemId=65b3905441018b6cfb11c45b&workflow=preview

Let us take a look at your read only. It’s a requirement to share in the design help topics.

My apologies, I had coped in the read-only link but it didn’t present properly there. Initial post updated now. :slight_smile:

Try adding a name="job-title" to your input field.

So like below? That didn’t work

Odd. You can see the rendered HTML in the form if you inspect with a browser so the value is there. Are you using recaptcha on any other forms on this project?

Sorry, forgot to mention, I’m using Make automation to transfer the form inputs over to email with file upload capability. But the webhook on Make doesn’t see the job-title as an input option! This would appear to be my issue.

Strange, but maybe try setting the field to type=“plain” and hide the embed instead (display none) via Webflow

You can isolate whether the data is actually in the payload by using a webhook test service and inspect the raw data. If it is there then it is an issue in your automation.

Thanks for your help, I got it to work. Webflow was functioning fine, I just needed to redetermine the Make webhook and it finally found job title as a field input.