AnsweredAssumed Answered

Running JavaScript before submitting workflow form

Question asked by sihnu on Apr 17, 2015
Latest reply on Jun 27, 2018 by Aleksey Bykov
Hi,

like the subject says I would like to run JavaScript and call web script before submitting a form. So when the user is pressing the submit button the JavaScript should be run but I just don't know which is the best way to implement this. I've been looking at forms-runtime.js but it is general file for every form in Alfresco and that doesn't seem to be proper place to do my implementation because I only want to use my script when submitting a workflow form. Could somebody point me to the right direction?

Thanks in advance.

Outcomes