Skip to main content
Inspiring
January 30, 2021
Answered

Problems with cfpdfform

  • January 30, 2021
  • 3 replies
  • 933 views

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?

This topic has been closed for replies.
Correct answer stephenlIU

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.

3 replies

stephenlIUAuthorCorrect answer
Inspiring
February 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.

BKBK
Community Expert
Community Expert
February 13, 2021

Thanks for sharing that. 

Curious finding.

BKBK
Community Expert
Community Expert
February 4, 2021

@stephenlIU : I created a fillable form with Adobe. 

 

How? 

Inspiring
February 4, 2021

With Adobe Acrobat Pro DC

Charlie Arehart
Community Expert
Community Expert
January 30, 2021

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)
Inspiring
February 3, 2021

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.