Hey guys! quick question, in 2019.2 to trigger the...
# suitecommerce
e
Hey guys! quick question, in 2019.2 to trigger the validations on the backend model, do we need to call explicitly this.validate(data); ? I have setup my validation object but whenever I click on the submit form the data is sent as is without validating anything and I noticed that in some core modules the .validate function is called
p
yes, backend implementation of “backbone.validation” needs you to manually call validate
☝🏻 1
e
oh!! really! it was driving me crazy! I will add that and see if this works! Thanks so much @PabloZ!