/
Tips in Report Template Scripts

Tips in Report Template Scripts


To add a line break in an Output.Write statement in the Script window

Note:  this is only required in the Script window (accessed by clicking on the 'Edit Script' icon).  <br> is allowed within the body of the report within <% %>


Define a variable for the HTML line break tag using the following

var brString = '<br';

brString += '>';


Add the variable into the Output.Write statement(s)

Output.Write(brString + "Line 1");

Output.Write(brString + "Line 2");

Output.Write(brString + "Line 3");

Related content

Add line breaks for Text/Memo fields in Repeater Controls of a Report Template
Add line breaks for Text/Memo fields in Repeater Controls of a Report Template
More like this
Add variables onto a report template
Add variables onto a report template
More like this
Scripting in Report Templates
Scripting in Report Templates
More like this
Output Checkbox Text
Output Checkbox Text
More like this
Add Page Break to PDF Export of Subject Report
Add Page Break to PDF Export of Subject Report
More like this
Add Page Break to PDF export of Workbench Report
Add Page Break to PDF export of Workbench Report
More like this