How can I add a dataset to a contact us form so that when I receive the submission it identifies which item the customer is inquiring about?

I have multiple items on my site that are set up in a dataset. When you click on a set item it goes to a new page and more information is provided. On that page I have a inquire now button which opens a lightbox popup. I have been able to add a dataset section to the title of the lightbox popup that pulls the name of the product on that page and displays but I need a way to add/code the same data section to the form that is then sent to me.
I have numerous items and they change every few days so manually entering new options in a drop-down box for the customer to choose will take to much time.
It makes it difficult when a submission is received without any idea of the item they want info on and I then have to ask what item they were looking at. This happens every time which again takes time.
Is there any way to use the dataset to automate this info.
Any help would be greatly appreciated!

Hi Becca,

Do you have a field on the form for what product/item the user is inquiring about?

If so you can use the wix-storage API to set the product/item to the local storage when the user clicks the inquire now button and then automatically fills in that field of the form on the lightbox.

Hope this helps!

Dara | Corvid Team

Thank you heaps. I will check it out soonnand see if that is the answer :smiley: