onReady() error [SOLVED]

Hi Yafim.

Can you please elaborate what you are trying to achieve when the “Submit” (button6) button is pressed?

I see your code there is:

$w("#dataset1").onReady(() => {

This code as per API reference http://www.wix.com/code/reference/wix-dataset.html#onReady, is setting a handler for the dataset1 to run automatically when it is ready.

Regards,
Genry.