Attach Document Field

A document can be uploaded from the questionnaire and re-generated as a separate document by a field of the general form:
{Attach Document
VariableName
DocTitle
title-expression }
where the
VariableName
is a question variable whose datatype is File Upload and the
DocTitle
component is optional.

Example 1

Let's imagine a template needs to capture Additional Terms from the end user. These are stipulated in a separate document. They can be captured using the Attach Document field:
{Attach Document AdditionalTerms}
note
Remember that the AdditionalTerms variable is a File Upload data type

Example 2

In example 2, the same thing happens but the DocTitle component is used to specify the name of the attached document:
[
AddWorkOrderForm
{Attach Document AdditionalTerms DocTitle "Additional Terms for " +CustomerName}]

Related Content