What is a Publishing Form Page?

The Publishing Form Page contains an HTML form. With this form, you can provide fields or other options for the template developer to add more information about the files being uploaded, such as template titles and descriptions. You must follow certain criteria when creating the HTML form:

  • The form must use the POST method and its encoding must be multipart/form-data. (HotDocs 2007 or earlier required that the form be named HotDocsPubForm, but this is no longer required.)
  • Any Select/Option fields (or drop-down/list/combo boxes) must have a VALUE attribute assigned. For example: <option value="choice1">choice1</option>.

Once the template developer provides the necessary information in this form, he or she submits the form and HotDocs adds the information to the published files. All the information is then uploaded (using HTTP POST) to the server. The following is sample code for the Publishing Form Page.

Example:

<form method="POST"

name="HotDocsPubForm" action="http://www.company.com/hotdocsuploadproc.asp" enctype="multipart/form-data">

Template Name: <input type="text" name="textinput" size="65">

<br>

Template Desc: <textarea rows="2" name="textareaDesc" cols="55">

Template Description

</textarea><br>

<select size="1" name="dropdownbox">

<option value="choice1">choice1</option>

<option value="choice2">choice2</option>

</select>

<input type="submit" value="Submit">

</form>