Hi, I have a Wix Form on my page with one input field (Autocomplete Address Field) and a Submit button. What I want is to submit the form as soon as user inputs (choose from a dropdown) their address ie enters a value into the field, without a need to click the submit button.
I have tried many options already and nothing seems to work.
I see, I don’t clearly remember how to implement it with the old form, but I believe you don’t need to use something like .submit(). You can probably just use .save() on the dataset to save the form data to the collection. So, the first thing you need to do is create a dataset and link it to the collection you’re using for the form. After that, you should be able to make it work using code like the example below.
Well, personally, I think that from a user interface perspective, some users might find it problematic if the data is submitted automatically without any notice. So even if you want to submit it automatically, it’s probably better to show some kind of popup, like a lightbox, beforehand.