To pass the job position from a Job detail page to a form submission page, you’ll need to use URL parameters and dynamically insert them into your form.
/apply
, then the button link should be /apply?job=Marketing-Manager
.On the form submission page, you need to extract the job
parameter from the URL using custom JavaScript.
Add an Embed element anywhere on the Form page and include this inline reference:
This script gets the job
parameter and fills it into a hidden or visible form field:
const urlParams = new URLSearchParams(window.location.search); const job = urlParams.get("job"); if(job) { document.getElementById("job-position").value = job; }
Make sure your Job Position input field has an ID of job-position
. It can be a regular text field or a hidden input.
job-position
so that the script can target it.To link the job position from a Job detail page to a Webflow form, pass the job title via a URL parameter, use custom JavaScript to capture it, and insert it into a form field. This allows you to track and process job applications correctly.