Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
NSC | Using the Page Break <pbr> tag in Advanced PDF/HTML Templates
The Page Break <pbr> tag is used to force elements under it to be printed on the next page. A common mistake when using this tag is it is paired with a closing tag. See the sample code below:
<!--Wrong usage of pbr tag --> <pbr> [Elements to print on the next page] </pbr>
Since <pbr> is a standalone tag, it does not need to be closed, and for compliance with XML standards, standalone tags should have '/' after the tag name. See the code below:
<!--Correct usage of pbr tag --> <pbr /> [Elements to print on the next page]
----------------------------------------------------------------
0

