Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Introduction:

From v7.1, it is possible to configure the consent PDF, which users can download after filling the consent/survey form. Users can set up the headers, footers and also able to add the table, which contains the patient information like name, collection protocol details, etc.

...

Expand

Users can configure the footer similar to heders with the university logo, page number, etc. Refer to the below code block to set the footer.

Code Block
languagehtml
<ec-page-footer>
    <div class="clearfix" style="border-top: 1px solid #ddd; position:relative;height: 70px; display: inline-block; width: 100%; padding: 8px 8px;">
	  <div style="float: left;">
        <img style="position: absolute; z-index: 1000; height: 60px; width: 300px;" src="https://specimen-test.irvinginstitute.columbia.edu/logo/cumc_stamp.png">
	  </div>
	  <div style="float: right; color: #666;">
	    <span>- {{currentPage}} of {{totalPages}} - </span>
	  </div>
	</div>
  </ec-page-footer>

In the above example, we configured the image in '<img' tag and page number in '<span tag>{{currentPage}} of {{totalPages}}'

Screenshot:

Add print-page-break in consent document PDF.

When the user downloads the consent form after filling it, they might notice that they need some information on a new page in the print document, or perhaps they want to move the content from the second half-page to the next page, etc.

...