Hi community, I’d need a Velo code snippet that will add an extra column to a CMS Collection that is created automatically based on form submssions on dynamic pages.
The long story:
I have a collection which contains all product info that I use for the dynamic page. Additionally there is a product identification column with a short product code.
Let’s call this collection PRODUCTS. The relevant column field key is productidentification. (The content of this column I want to see in the collection of form submissions next to each response - based on the dynamic page on which user has filled out and submitted the form)
From PRODUCTS collection I created #dynamicdataset that imports data to the dynamic pages.
On each page there will be a form - so far I understood I need to use input fields with a button instead of a premade Wix form.
I watched/read these tutorials:
- https://www.youtube.com/watch?v=M8rt2iqLX9E
2.get current item dynamic page id and display in user input box - #2 by darak
However, I did not manage to adapt the code for my case.
The tutorial number 2 did not save the information into the collection. Only user input was saved but not the product identification.
Tutorial number 1 I did not manage to adapt the code to be used without a lightbox. I need to have this form directly on the dynamic page.
I’ll be super happy for any help!
Have a great day!