Jump to content
  • 0

Document Template Generator - Using Text Area Fields with Rich Text


kpcollier
 Share

Question

I'm trying to create a PDF template with the Templates feature. Two fields that I am including in this PDF are Text Area datatypes. These fields are updated by users via Rich Text Editor, so there are various line breaks, quotation marks, etc. 

I am able to map the text area fields, however when the PDF is generated, it isn't including the rich text formatting. Instead, it is showing &quot for quotation marks and <br> for the line breaks.

I have made sure that my fillable PDF has 'Allow Rich Text Formatting' enabled. But, it doesn't seem to make a difference with that option on or off. 

Any ideas?

pdfarea.PNG.28b2ade76d8a978955bc62f211a08b0d.PNG

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Also to add on this the &quot; in your output is the entity name for quotation marks. to replace them with actual qoutation marks you can either create a trigger that will replace a string to another string just like on this post or add a new .replace() function on this post.

I found a list of entity name and their actual value which may be helpful to some: https://www.w3schools.com/html/html_entities.asp#:~:text=Some Useful HTML Character Entities

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...