Edit an eForm document template with dynamic fields
The short answer
To edit an eForm document template, click the cog, then Document Templates, then the eForms tab, and click Edit Word Document beside the template. The row holding {FormFieldName} and {FormFieldAnswer} repeats for every question on the eForm. Use Search Variables to find other variables, click Step 1: Preview to check the result, then Step 2: Save.
Watch the walkthrough
Transcript (1:38)
Here is how to edit an e-form document template that lists every question and answer.
Click the cog, then Document Templates, then the e-Forms tab. Click Edit Word Document, the pencil beside the template.
The template is a document with variables in curly brackets. Form Field Name and Form Field Answer sit in one table row. That row is repeated for every question on the e-form.
To add other details, click Search Variables. Type what you are looking for, then click the variable to copy it, ready to paste into the document. Click Close List when you have finished.
Click Step one, Preview. The template is filled in with one of your e-forms and shown beside the editor, with a row for each question.
When the preview looks right, click Step two, Save. A green message confirms the template is saved, and you are taken back to your document templates.
That is the template saved. E-forms that use it will now produce their document from the new version.
Steps
Open the template in the editor
Watch this step (0:07)Click the cog at the top right, then Document Templates, then the eForms tab.
Click Edit Word Document, the pencil beside the template. It opens in an editor in your browser.
Find the row that repeats for each question
The template is a document with variables in curly brackets. {FormFieldName} and {FormFieldAnswer} sit in one table row.
When the document is produced, that row is repeated for every question on the eForm, so you lay the row out once.
Watch this step (0:34)Look up a variable and copy it
Watch this step (0:50)Click Search Variables. Type part of the variable you want in the search box. The search matches the variable itself, so type it without spaces.
Click a variable to copy it. A green message, Copied to Clipboard, confirms it. Paste it where you want it in the document, then click Close List.
Preview the template with a real eForm
Click Step 1: Preview. The template is filled in with one of your eForms and shown beside the editor, with a row for each question.
Watch this step (1:06)Save the template
Watch this step (1:18)When the preview looks right, click Step 2: Save. A green message, Template Saved!, confirms it and you are taken back to your document templates.
When to use this kind of template
A template with a repeating row suits eForms whose questions can be shown as a list or table. You lay out one row and every question uses it.
If each answer has to sit in a fixed place in the document, such as a certificate or a statement of works, a template with static fields is the better fit.
Frequently asked questions
Next step
Momentum planWas this helpful?