Trigger Custom Javascript Event on Form Completion

The below script will enable you to fire custom javascript code after the inbound now form has finished processing. This is useful for setting custom cookies, sending custom Google Analytic Events, or anything else you can imagine.