JavaScript API: Direct
Assembly: api.js Version: 1.0.0.0 (1.0.0.0)
var HDDisableOnSubmit
Field Value
Type: booleanWe recommend leaving the default behavior in place; disabling the interview prevents unintentional clicks while the form data is transferred and the server is responding to the request.
However, one scenario where you may wish to set HDDisableOnSubmit to false (thus suppressing the default behavior) might be where you are registering a handler for the PreHDSubmit event, and you are already taking some other action in that handler that effectively disables form controls. For example, if you are already overlaying your own div atop the interview (in response to PreHDSubmit), then the DIV HotDocs uses to disable the form becomes redundant.