HDInterviewOptions LeaveWarning Field  
Specifies whether the end user will be warned if they try to close or navigate away from the interview page without submitting their answers to the host application.

 

JavaScript API: Embedded
Assembly: hotdocs.js Version: 1.0.0.0 (1.0.0.0)
Syntax

 
 
JavaScript
 
var LeaveWarning

Field Value

Type: boolean
Remarks

 
The interview accomplishes this warning by registering for the "before unload" event in the browser. If this behavior is not appropriate for your host application, set this to false.
See Also

 

Reference