InterviewResponse.GetInterviewAnswers Method

This is a static method that converts the HTTP POST data returned from a browser-based interview into a string suitable to be passed to the AnswerCollection.OverlayXMLAnswers method.

Syntax

public static string GetInterviewAnswers ( System.Web.HttpRequest requestObject )

Parameters Description
requestObject HTTP POST data returned from a browser-based interview.

Return Value

A string of XML answers suitable to be passed to the AnswerCollection.OverlayXMLAnswers method.

Example

The following Visual C# example shows how this method can be used:

using HotDocs.Server;
...
HotDocs.Server.AnswerCollection ac = new HotDocs.Server.AnswerCollection();
ac.OverlayXMLAnswers(HotDocs.Server.InterviewResponse.GetInterviewAnswers(Request));