How do i verify the data before store data in database. I made this. I get the message " save operation failed: DatasetError: Some of the elements validation failed" when i click on the button and the text fields are empty. I think I get this message because “empty” is an invalid value, but how i can stop the data transfer. I am doing a memebership page with a custom form input. Please, help!
Hi,
please have a look at the following articles:
https://www.wix.com/code/home/tutorials-custom-form especially sections 7 and 8
ValidatableMixin - Velo API Reference - Wix.com
CMS: About Validation Settings for Input Elements | Help Center | Wix.com
Wix code already provides an api to customize form validations, please let me know if the above helps,
Shlomi