Hye, I have a form for subscription with a submit button. I used a subscription form made by wix (?).
1.When I attach a onClick function (using the properties panel) sometimes it gives me button_click function and other times - button_click_1.
What is the different?
2. when I made the form I have connected it to update a database and send me an email. Now I have added some code and backend code (for using a webhook etc). I have notice that sometimes it doesn't update the database at Wix and then I don't recieve a mail, but the webhook does work always. Is it because I actually connected 2 actions to the button? (the form update and my manually code?) so it skips the wix code and "prefers" my own code sometimes? (I hope you understand me...)
3. I guess that is - again - some back code of the form that I can't reach: when a user insert invalid data to a field and press the submit button, I don't let the onClick function to action. Just give the user a "Invalid..." and wait for him to insert correct value. It works fine, but what also happens is that all the fields at the form get empty. I don't want it to happen, of course. Just let the user fix the value at a specific field and keep all his other values as he has inserted. Is it possible or that's because I am using a prepared-form?
Tnx for any help :)