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

Problems with cfpdfform

Explorer ,
Jan 30, 2021 Jan 30, 2021

Copy link to clipboard

Copied

I created a fillable form with Adobe. I am using cfpdfform to populate it. I have made no programming changes or changes to the form.

 

Suddenly, it has started filling the form (or the form has started displaying) in landscape mode. You can just see the beginning of the field contents before it disappears upwards.

 

What happened? How do I fix it?

TOPICS
Advanced techniques

Views

432

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

Explorer , Feb 13, 2021 Feb 13, 2021

From what I am seeing today this is not an issue with Adobe. It appears to be a problem with FireFox. I am pursuing that angle. Thanks.

Votes

Translate

Translate
Community Expert ,
Jan 30, 2021 Jan 30, 2021

Copy link to clipboard

Copied

Such changes don't happen without SOMETHING causing them. I realize you think nothing has changed in your code or the PDF. Assuming that's really so, there could be changes in the cf config, the web server config, and more (even on the client end) which could be impacting things. 

 

As a sanity check, try creating a simple new cf page, with just the least needed to show the PDF. Does it render in portrait? If so, then something in your failing page would seem to be causing the landscape, though "nothing changed". Add things to model what is in the failing page (regarding the pdf handling only), until it renders in landscape. 

 

If nothing you do gets it in portrait mode, then you know it's not the code. You may then want to open the PDF in a browser on the server (directly, as a file) to make sure it IS portrait. Don't do it from off the server, or via a url while on the server, to ensure nothing but the PDF is impacting its display (no cf, no webr server).

 

Let us know how it goes. Or maybe someone else will offer a better answer. 


/Charlie (troubleshooter, carehart.org)

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
Explorer ,
Feb 03, 2021 Feb 03, 2021

Copy link to clipboard

Copied

I first loaded the form by finding it on the drive, double-clicking it to load. I then started filling in the first field. Looks like it's supposed to (portrait). It has a save date of 6/25/2020 which is the original date.

 

I created a new page and filled only 2 fields.

 

<cfpdfform source='#application.storage#\HICF\BlankClaimForm.pdf' action='populate'>
<cfpdfformparam name='FILENUM' value='B21-876 REF'>
<cfpdfformparam name='PLAYER' value='CLOONEY, GEORGE'>
</cfpdfform>

 

When it opens it is in landscape instead of portrait.

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
Explorer ,
Feb 08, 2021 Feb 08, 2021

Copy link to clipboard

Copied

Could the problem be (although this did work; don't know why it suddenly stopped) that this was created in Adobe Acrobat Pro? From some things I've read it needs to be created in Live Cycle now call Experience Manager.

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 ,
Feb 09, 2021 Feb 09, 2021

Copy link to clipboard

Copied

That is indeed a possibility.

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 ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

@stephenlIU : I created a fillable form with Adobe. 

 

How? 

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
Explorer ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

With Adobe Acrobat Pro DC

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
Explorer ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

And, to be clear, it has been working. I changed no code, I did not change the form. It's wrong now even with a bare-bones form as illustrated above. That is the sum total of the code (i.e., no CSS included, etc.).

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 ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

Ah, OK.

That's odd indeed.

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 ,
Feb 04, 2021 Feb 04, 2021

Copy link to clipboard

Copied

What happens when you create the PDF form, move it or copy it to a different location, then populate the form-fields of that copy instead.

 

When I did precisely that, the format stayed 'portrait'. 

 

 

<cfpdfform source='C:\Users\BKBK\Desktop\testPDFForm.pdf' action='populate'>
<cfpdfformparam name='uname' value='CLOONEY, GEORGE'>
</cfpdfform>

 

 

BKBK_0-1612471570709.png

 

 

 

 

 

 

 

 

 

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
Explorer ,
Feb 08, 2021 Feb 08, 2021

Copy link to clipboard

Copied

On our network the only place I can access forms is in a location on the server serving up the database. I copied the original form from local files up to a different subdirectory there with the same results.

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
Explorer ,
Feb 13, 2021 Feb 13, 2021

Copy link to clipboard

Copied

From what I am seeing today this is not an issue with Adobe. It appears to be a problem with FireFox. I am pursuing that angle. Thanks.

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 ,
Feb 13, 2021 Feb 13, 2021

Copy link to clipboard

Copied

LATEST

Thanks for sharing that. 

Curious finding.

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