HDAPIPostToServer Method
This method posts information to the server. It is used by the HDAPI.PostAnswersToServer method for posting answers to the server, but you could use it to post any other kind of information. For example, if your host application can generate some sort of custom summary page, this function could post data to that page and display the response to the user (in the context of the intervew).

JavaScript API: Direct
Assembly: api.js Version: 1.0.0.0 (1.0.0.0)
Syntax

JavaScript
function PostToServer(postUrl, fieldArray, bShowResponse, pageTitle);

Parameters

postUrl
Type: SystemString
The URL of the page on the server to which the information will be posted.
fieldArray
Type: SystemObject
An associative array of strings to be posted to the server.
bShowResponse
Type: SystemBoolean
Indicates whether or not HotDocs Server should display the server's response to the user. (Optional; default = true)
pageTitle
Type: SystemString
The title of the page on which the server's response is displayed. (Optional; default = 'Server Results')
See Also

Reference