Forms Data Collection

Hello,

I have a page with multiple forms on separate parts of the page that is coming from the save data source. If I edit one, and edit the next form and save, it only saves the changes that I’ve made on one of the forms.

How do I get around this?

Thank you!

Hello @ljing, could you please provide more details as to how you are trying to save the data from both forms? Considering the title, I am assuming you are binding both of your forms to a DataCollection and calling the save() method? Either way, if possible, please provide a snippet with the problematic code, or describe your situation in more detail, please.

Here is an example of binding two forms to the same DataCollection: https://snippet.webix.com/hnlrvlwe. As you can see, the collection is storing the data from both forms just fine.

So here’s a snippet of what I am trying to do: https://snippet.webix.com/4ta4v4cu

I’d like:

  1. data to populate the form when the page loads, with the url
  2. data to be saved when one of the forms change

Right now, if I make a change in form 1, followed by a change in form 2, then only data in form 2 is saved. When I reload the page, form 1 will still show the old value. This is because when values are being saved, it is getting all the values from the data that is loaded, even the ones that are not being displayed.

Nevermind, I think I fixed it. Thank you so much! I really appreciate all of your help!