AnsweredAssumed Answered

Prevent form submission from javascript

Question asked by themos on May 23, 2016
Latest reply on May 23, 2016 by themos

Hello,

 

Is there a way to prevent form submission based on javascript validations?

e.g. i would like to use the following code:

 

NWF$(document).submit(function () {

alert('Custom validations!');

return false;

});

 

Instead of 'return false', I would assume there is a 'NWF.FormFiller.Functions.[?]' function to abort/prevent the form submission?

Outcomes