I've added a custom page template where I pull out a list of available jobs from the database.
The page displaying the jobs is called
I'm using the
Ninja forms plugin to add a form on a page called
apply.php, which has fields for a job application.
Now for each job title offered on the jobs page, I want it to be a link that the user can click on to apply, and be redirected to
apply.php, where I can grab the job id and save in a hidden field on
This is so that when I save the applicant's submission, I can get it saved together with the job they applied to.
I've added the link alright - as follows:
where 18 is the id of the apply page, the page that I've got the ninja form on.
But how can I grab the jid from the query string and use it in the ninja form fields?