Hello. I have a dynamic page with multiple items(category page) that have their own ids(Homes_ID) connected to a database called "Homes". When users clicks 1 item, it will go to another dynamic page(item page) that has a user input form.
What I need help with is how do I code where when user submits the form, it will get all the data from the user input form along with the id of that item to another database called "Bookings". I have linked them with reference fields but I need it to be automatically filled. Please help.