You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my haste to fix Issue 75 - Form is being submitted without any validation, SP2013 and Later, I broke custom validators. In other words, PreSaveAction does not get called at all.
I've had this issue before, and this time I've fixed it in such a way that I should never have this issue again. I no longer override MS's PreSaveItem method, and I no longer call SPClientForms.ClientFormManager.SubmitClientForm(opt.formId) myself. MS processes the form normally and I modified the onclick handler for the submit button so it calls my own PostValidationAction after all validation and only if some validation failed. Should be much cleaner.
The text was updated successfully, but these errors were encountered: