PDF Form becomes static when served via Apache \ Ubuntu

Same pdf serves up in a browser from a windows server just fine.

Do I need some special headers to tell the browser its a dynamic pdf?

It seems like a server side permissions issue but the pdf is loaded and I see the form, but I cannot click into any of the form fields so just not sure where its getting hung up and removing the ability to fill out the form.

Here is my code in CF that works just fine when served thru windows iis.

 <cffile action="readbinary" file="#request.leadroot#/leadmanagement.pdf" variable="newpdf"><cfpdfform source="newpdf" action="populate"><cfpdfsubform name="form1"> 
            <cfpdfformparam name="action" value="New"><cfpdfformparam name="opendate" value="#dateformat(now(),'mm/dd/yyyy')#"><cfpdfformparam name="owner" value="#session.username#"><cfpdfformparam name="submittercontact" value="#session.userfullname# | #session.useremail# | #session.userphone#"></cfpdfformparam></cfpdfformparam></cfpdfformparam></cfpdfformparam> </cfpdfsubform></cfpdfform></cffile> 

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct