Wix Dataset is taking 4 minutes to add connected data to Content Manager

Hello Velo Community,

I have a custom application form that I have utilized Multi-state box and custom input fields. There is a dataset that connects the various input fields to the content manager. Therefore, the code written is only to validate fields, move the state from one to another and create the form logic.

My issue is with the time it takes for data to be added to the database. I turned on Verbose console log outputs and I noticed that everytime an input is changed, Wix updates the entire dataset at the same time. As a result, by the end of the application, it is saving the dataset again and again based on the number of inputs changed which amounts to almost 4 minutes before the dataset is actually saved.

Is there a trick that I am missing that makes this save faster?

Hey Velo team, do you all have any tricks in speeding up dataset write to database?

Please share your code (nicely formatted in a code block) so we can help.

Hey Yisrael, there is no code to save data as the dataset are just connected to the fields and one of the buttons is connected as Action: Submit

@imtiazraqib But you said that you have code that validates the values. It must be doing something that’s taking time.

We need more information to understand what’s happening. What is it that you are doing? Try to create an absolute minimum scenario where you just save the data to the database collection without all of the other code. In this way you might be able to identify where the problem is.

If you suspect that this is a system bug, then realize that this forum is not a support site and is not monitored for bugs or system issues. Please report bugs to Wix Customer Care to ensure timely handling of your problem. They track and monitor all incoming issues and will escalate bugs to product teams.