• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to insert carriage returns into <cfpdfform> XML?

Guest
Dec 15, 2009 Dec 15, 2009

Copy link to clipboard

Copied

I'm populating a pdf using <cfpdfform> and action="populate" and XMLData="<filename>"

My carriage returns are not making it into multi-line PDF fields, jumbling their appearance.

How should carriage returns be transformed?

I've attempted wrapping the data in <![CDATA{ ... ]]>, but no difference.

I've attempted \n and \r and <br> (that was a mistake!).

Nothing has worked.

Any ideas?

Thanks.

TOPICS
Advanced techniques

Views

421

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 15, 2009 Dec 15, 2009

Copy link to clipboard

Copied

Hi,

Check if this workaround helps you,

http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:304453

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 15, 2009 Dec 15, 2009

Copy link to clipboard

Copied

LATEST

I appreciate the reply, but that doesn't seem to work.  Acrobat seems to ignore chr(13) and chr(10) and pass through <br /> as text.

Any other ideas?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation