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

Fill In PDF field length

Participant ,
Sep 24, 2018 Sep 24, 2018

Copy link to clipboard

Copied

This may be a ColdFusion question, but I'll start here.

I am trying to do a mail merge using CF <cfpdfform tag.

I have a query with 100 records that loops through the PDF with these form fields.

PDF1.PNG

My query loops through and adds/inserts the query values to each PDF and creates 100 pdf's with the filled in values.

Because i don't need to worry about the length of any of these values, It works great.

But here is where I have my issue

PDF2.PNG

When the query value is within a sentence I don't know how large to make the text field on my blank fill in PDF

When the city name is Ida the field needs to be a certain width and when the city name is Oklahoma City it needs to be a much larger width..

Is there a way to deal with this?

ShouldI be using a different way to merge query data with these PDFs?

Views

798

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

correct answers 1 Correct answer

Community Expert , Sep 25, 2018 Sep 25, 2018

The formatting options are very limited. You'll need to adjust it manually to get to appear correctly.

Votes

Translate

Translate
Community Expert ,
Sep 25, 2018 Sep 25, 2018

Copy link to clipboard

Copied

The only way to deal with it in a PDF file is if the entire sentence is a part of the same text field. Then it will adjust it correctly to fit the text. Otherwise you can only adjust the font size, which will look odd.

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
Participant ,
Sep 25, 2018 Sep 25, 2018

Copy link to clipboard

Copied

I tried this but the leading or line-height for the fill-in sentence was different than the rest of my letter. Is there a way to set the height of the form field in the hopes that the leading or line-height will be increased?

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
Community Expert ,
Sep 25, 2018 Sep 25, 2018

Copy link to clipboard

Copied

LATEST

The formatting options are very limited. You'll need to adjust it manually to get to appear correctly.

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