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
- Navigate to Customization > Forms > Advanced PDF/HTML Templates
- Preferred Advanced PDF Template: Click Edit
- Top Right Corner: Toggle Source Code
- Source Code: Add the code ${record.billaddress?replace(“<br />”,”, “)}
- Click Save