Form is not Saving. save operation failed: DatasetError


The custom form I created is not saving. I think it is only happening in the mobile version. Please help.

Verbose log:

[wix-dataset.save] called
[beforeSave event] triggered on wix-dataset
[datasetError event] triggered on wix-dataset with ( Array(2)
                                                     0: "save"
                                                     1: "DatasetError: 
                                Some of the elements validation failed"
                                                      )

I have tried a couple of proposed solutions by looking at the following list of other discussions. But none has resolved anything.

https://www.wix.com/corvid/forum/community-discussion/can-t-save-a-form
https://www.wix.com/corvid/forum/community-discussion/data-not-getting-saved-when-i-click-on-submit
https://www.wix.com/corvid/forum/community-discussion/save-operation-failed-dataseterror-some-of-the-elements
https://www.wix.com/corvid/forum/community-discussion/save-operation-failed-dataseterror-some-of-the-elements-validation-failed

Here is the domain of he Wix site:
https://www.no-chini.com

When I wrote code to check validity of each field on clicking submit, all of them returned true. But the form is still returning an error.

true    surveyLine 10
true    surveyLine 11
true    surveyLine 12
true    surveyLine 13
true    surveyLine 14
true    surveyLine 15
true    surveyLine 16
        surveyLine 17
        surveyLine 18
[wix-dataset.save] called
[beforeSave event] triggered on wix-dataset
[datasetError event] triggered on wix-dataset with ( Array(2)0: "save"1: "DatasetError: Some of the elements validation failed" )

save operation failed: DatasetError: Some of the elements validation failed

This only happens in mobile? Have you tried this in Live from the desktop?

Maybe you just need to sync your database?

Hi yisrael, i tried syncing but still wont save to my dataset… any other suggestions?

Please add your own issue into a new post instead of bumping up an old post. Explain what you are trying to do, what works, and what doesn’t. Also, add any code in a code block as stated in the Forum Guidelines.

This post is an old post and is being closed.

Close it then

Make sure that you have the correct collection permissions .