- Fri Mar 13, 2020 7:45 am
#827717
Hi,
I'm using processmaker version 3.1.3 the page breaks is not working by adding this code for both pdf and doc
To:
Add this code in trigger.
Thanks
Jemiris S
I'm using processmaker version 3.1.3 the page breaks is not working by adding this code for both pdf and doc
Code: Select all
I have solved by trying this code.<style>
.pageBreak { page-break-before: always; }
</style>
<br class="pageBreak">
To:
Add this code in trigger.
Code: Select all
@@pageBreak = '<p style="page-break-before: always;">';
Code: Select all
Note: This works well for me PDF and DOC. Here i have add two page break one page break works for the pdf another DOC. Someone will get help by this reference.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style>
.pageBreak { page-break-before: always !important; }
</style>
</head>
<body>
<p align="center">
<br class="pageBreak"/>
@#pageBreak
</p>
</body>
</html>
Thanks
Jemiris S