AnsweredAssumed Answered

Execute JavaScript on Save only when form is valid

Question asked by stempb on Oct 17, 2018
Latest reply on Nov 6, 2018 by stempb

I have a task form where I want to execute some JavaScript only when the form is valid.   I know how to execute JavaScript  when the Save button is pressed but how do I check if the form is valid?


I have seen code that checks if there are validation error messages displayed on the form but is there a better way?