I’m working in Wix Studio with Wix Forms (new version) and I’m trying to implement a simple booking flow.
Setup:
Dynamic hotel page (each hotel has a Title)
“Reserve now” button leads to a separate booking form page
Form includes a field: “Hotel / Property you want to book”
Goal:
When user clicks “Reserve now”, I want the hotel name to be automatically passed and pre-filled in the form field, and included in the form submission.
What I tried:
URL query parameters (wix-location)
session storage (wix-storage-frontend)
Velo attempts to set field value
Issue:
It seems Wix Forms V2 does not allow programmatically setting field values.
Question:
Is there any supported way to prefill a Wix Form field dynamically?
Or is the only solution to:
display the value separately and let user confirm manually
Thank you so much for jumping in so quickly and sharing this solution — it worked perfectly on our side.
We implemented the hidden field + dataset approach exactly as described, and now the hotel/property is correctly passed and stored with each form submission. This solved our issue completely after quite a bit of trial and error.
Really appreciate the clear steps and practical example — saved us a lot of time.