Hi all,
I have been looking for a solution to this problem for some time but can’t find any solution.
I have a form for users to join the website. I would like to use this form on multiple pages, using different URLs - and to know which URL has been used by the user to register the form.
Per example, a user who filled out the form at www.website.com/page1 would then return the value “page1”
another user filling out the form on page2 would return “page2” and so on.
I believe the only way to achieve this (Without duplicating the forms) is to use VELO - as described by the WIX support team.
I would then like to know:
-
How can I obtain the “ID” of a specific field in a form (note that I use the pre-made form tool from WIX, and NOT inputs that are connected with datasets/collections)
-
Would anyone know how to write the VELO code to attribute a value to that field, that will be saved along with the other variables when the user fills the form.
My goal is to create a value for that field when the user loads the page or clicks submit - and I can “hide” that field so it won’t be visible to the users.
Please see screenshots on this link, which might be helpful:
Please let me know if anyone could assist with this.
Thank you for your help!
Best,
Dom