Passing along data from a dynamic page to user input form

I’m trying to create a website for a recruiting firm. I’ve created a dataset of job listings (with each one having an assigned job number) and set up the website so that each job posting has it’s own dynamic page.

At the bottom of this dynamic page, I would like candidates to be able to apply for the job via user input form. I’ve figured out how to connect the form to a separate dataset, but I cannot figure out how to make it work so that the job number (from the dynamic page the candidate is currently viewing) can be submitted with the application. So I just have a bunch of applications without a clue as to what job they correspond with.

Any tips as to how to make this work? I’m trying to teach myself JavaScript, but I’m afraid I’m not quite at the level yet where I can clearly see a path to make this work.

Thanks!

1 Like

Basically what you can do is to first create a field in your application database to store the job number that you want to pull from the page.

Next, you can have a hidden text (just place a string of text and set it to your bg color) within the application form that connects to the job number via your listings dataset.

The next bit is the complicated part where you have to add in some codes so that when applicants submit the forms the job number will be pulled from the pages into your application database. For the coding part, you can check out this post as they use the same logic to pull data to produce unique comments within the dynamic pages.
https://www.wix.com/code/home/forum/questions-answers/adding-a-comment-box-on-item-s-pages

Just find the comments that guide you through the connecting and pulling of data through coding!!

Hope this helps even a little as I’m new to coding myself so I can’t help much

Dear All,
am also stuck on same kind of thing. On my website, patient selects one of the centre as his choice for undergoing a test. The selected details are displayed on a dynamic page, same page has booking details with another data set of Wix form. Am able to get details submitted by patient such as name,age etc filled in form but not able to get the information about which centre and test did he chosen.
How do I combine both of these data and get a combined alert on mail. Mail received only gives data submitted on form.
Please help me out with code and any changes to be made in dataset, as am stuck on this for many days and not getting desired result.