Execute script right after the form is submitted, then send data to Jotform.