Global Variables

The Legacy API exposes the following members.

Variables

  NameDescription
Public fieldHDBottomMargin
The number of pixels to reserve below the browser interview when HDInterviewOptions.Height (or formerly, HDInterviewHeight) is set to "auto" and the actual height of the interview's HTML DIV is being calculated. Irrelevant when HDInterviewOptions.Height is set to anything other than "auto".
Public fieldCode exampleHDDisableBrowserWarning
By default HotDocs browser interviews display a warning during interview initialization if an unsupported browser or operating system is detected. Setting this variable to true suppresses that warning.
Public fieldHDDisableFinishWarning
When set to true, suppresses the browser interview's default behavior of warning the user before he or she submits an interview accidentally or which may be in an incomplete state. (The default value is false.)
Public fieldHDDisableOnSubmit
This determines whether or not buttons, input fields, and other controls on the interview are disabled (by overlaying them with a translucent HTML DIV) when answers are being submitted to the server. The default is true.
Public fieldHDInterviewHeight
The requested height of the HotDocs browser interview. If not specified, the default value is "auto" (see Remarks below).
Public fieldHDInterviewLocale
The name of the language module that will be loaded and used by HotDocs when presenting this interview. Browser language modules dictate date and number formatting, calendars, all built-in user interface text, etc. The name is formed by combining a two-letter language code with a regional code; If no value is specified, the default is "en-US" (US English).
Public fieldHDInterviewOutlineWidth
Specifies the initial width (in pixels) for the interview outline component of the interview outline.
Public fieldHDInterviewWidth
The requested width of the HotDocs browser interview. If not specified, the default value is "auto" (see Remarks below).
Public fieldHDLeaveWarning
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.
Public fieldHDRequiredAsterisk
Specifies whether an asterisk will be appended to the prompt of any variable for which a value is always required. Such prompts are normally highlighted in an alternate color (as dicatated by the interview style sheet) until they have been answered, but this option causes asterisks to be shown as well (even after the variables have been answered). Defaults to false.
Public fieldHDResourcePaneHeight
Specifies the initial height (in pixels) of the resource pane. Defaults to 100 if not specified.
Public fieldOnHDFinish
[Deprecated] Use HDAPI.RegisterHandler to register for the "OnHDFinish" event instead.
Public fieldCode exampleOnHDStart
[Deprecated] Use HDAPI.RegisterHandler to register for the "OnHDStart" event instead.
Public fieldCode examplePreHDRender
[Deprecated] Use HDInterviewOptions.OnInit instead. This function is called before HotDocs builds the interview. You can use this function to perform any interview preprocessing, such as adding custom buttons to the interview toolbar or registering for interview events.
Public fieldCode examplePreHDSubmit
[Deprecated] Use HDAPI.RegisterHandler to register for the "PreHDSubmit" event instead.
Top
See Also

Reference