I am trying to validate SharePoint form using the default validation on SharePoint,
SPClientForms.ClientFormManager.SubmitClientForm('WPQ2')
This line of code validates the form but also if validation is true it submits the form, I dont want the form to be submitted, so how can we stop it from submitting after validation using the above line of code.