You need to save the values to a dataset, adding them through code does not save them.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFieldValue
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFieldValues
https://www.wix.com/corvid/reference/wix-data.html#save
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#save
https://www.wix.com/corvid/reference/$w.ValueMixin.html#onChange
Have a look at these two examples for ideas.
https://www.wix.com/corvid/example/multistage-form
https://www.wix.com/corvid/example/cascading-form