Is there a way to entirely disable client side validation of list forms? Specifically the date field validation which occurs before the form is ever submitted.
I have tried PreSaveAction() but not sure how to actually bypass the validations.
Thanks!
Is there a way to entirely disable client side validation of list forms? Specifically the date field validation which occurs before the form is ever submitted.
I have tried PreSaveAction() but not sure how to actually bypass the validations.
Thanks!
You could off-course override the Javascript functions which handle the client side validations. Another solution would be to disable Javascript.
I don't think you should do either one of them though. Validation is there for a reason. Perhaps changing the validation logic on a form (or creating your own) is a better solution here.
Move all your validation logic to PreSaveAction() and then check the condition on which you want to skip the validation and return true from the method.