This section covers how to structure text around placeholders for both standard form fields and repeater structures for grid data.
Using form fields is very straightforward. While entering text, position the cursor and insert the placeholder. See the section on Inserting Placeholders Into Document Templates for instructions on finding and inserting placeholders.
When the document is generated, the data being pulled in replaces the placeholder exactly. No extra spaces will be added, so the necessary spaces should be included in the template text, particularly when using multiple placeholders one after the other.
|
Example: |
If the template includes the sentence "Contact <<firstname>><<lastname>> for details.", the generated document would contain the following: | |
Contact JohnSmith for details. | |
With the text "Contact <<firstname>> <<lastname>> for details.", the text would appear properly: | |
Contact John Smith for details. |