Uiinfrastructure API Docs  
 

AFormDP.InsertJavascriptBeforeFormSubmit Method 

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.

public virtual void InsertJavascriptBeforeFormSubmit(
   XPStringBuilder sb
);

Parameters

sb
StringBuilder to add your custom javascript to.

See Also

AFormDP Class | com.plumtree.uiinfrastructure.form Namespace