Helper method to insert custom javascript in the form submit method right before the form is submitted. javascript should have 4 spaces indenting each line to make it line up with the code it is being inserted into.
AFormDP Class | com.plumtree.uiinfrastructure.form Namespace