Displaying the Address Section in a Line through Advanced PDF/HTML Templates

Scenario

When displaying an Advanced PDF/HTML Template the address field is presented like a text area wherein a every information is printed in a new line. To have the address be printed in one line, the Advanced PDF/HTML Template must be customized to replace the break line with a comma.

Solution

  1. Navigate to Customization Forms Advanced PDF/HTML Templates
  2. Preferred Advanced PDF Template: Click Edit
  3. Top Right Corner: Toggle Source Code
  4. Source Code: Add the code ${‌record.billaddress?replace(“<br />”,”, “)}
  5. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *