Finding PDF form field names

2011-06-27 Thread Ken Hammond
I am trying to find the form field names in a PDF. I was reading through cfpdfform and it says to get the structure do this: To verify the structure of a PDF form in ColdFusion, use the read action of cfpdfform tag, and then use the cfdump tag to display the result structure. For some reason

Re: Finding PDF form field names

2011-06-27 Thread Wil Genovese
Try this cfpdfform action=read source=mydocument.pdf xmldata=pdfFieldsxml result=pdfFields/cfpdfform cfdump var=#pdfFields# Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jun 27, 2011, at 10:35 AM,

Re: Finding PDF form field names

2011-06-27 Thread Leigh
For some reason I just can't work that out in my head, welcome to Monday right... I would ask what did you do this weekend? But my brain is not faring much better today ;-) Just for the example, say the pdf file is test.pdf. cfpdfform action=read source=c:/path/test.pdf result=data /

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Worked like a charm, thanks! -Original Message- From: Wil Genovese jugg...@trunkful.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 10:46:19 -0500 Subject: Re: Finding PDF form field names Try this cfpdfform action=read source=mydocument.pdf xmldata=pdfFieldsxml

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 08:46:26 -0700 (PDT) Subject: Re: Finding PDF form field names For some reason I just can't work that out in my head, welcome to Monday right... I would ask what did you do

Re: Finding PDF form field names

2011-06-27 Thread Leigh
... My wife made me stay up and watch it and then watch the next week's episode on HBO GO online after that Ahh, I see. Your *wife* made you stay up late ... There goes my sympathy ;) ~| Order the Adobe Coldfusion

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 09:43:05 -0700 (PDT) Subject: Re: Finding PDF form field names ... My wife made me stay up and watch it and then watch the next week's episode on HBO GO online after that Ahh, I see. Your *wife* made you stay

Re: Finding PDF form field names

2011-06-27 Thread Leigh
... or catch the 1/2 story play by play the next day. Ah, now the truth comes out ... ;) So, I am running into a problem I tried a quick test under CF9 (using full paths) and all of the test values are populated for me. cfpdfform action=populate source=c:/test.pdf

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Is that the only thing you changed? I am also running CF9. -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:27:14 -0700 (PDT) Subject: Re: Finding PDF form field names ... or catch the 1/2 story play by play

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:27:14 -0700 (PDT) Subject: Re: Finding PDF form field names ... or catch the 1/2 story play by play the next day. Ah, now the truth comes out ... ;) So, I am running into a problem I tried a quick test under CF9 (using full paths) and all

Re: Finding PDF form field names

2011-06-27 Thread Leigh
Yep. I just downloaded the form and filled in a few more values (most of yours were blank). Using the exact code posted, all of those values are populated in my destination file. ~| Order the Adobe Coldfusion Anthology now!

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
No matter what I do to this it will not work :-/ I added full paths and still no luck -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:33:50 -0700 (PDT) Subject: Re: Finding PDF form field names Yep. I just

Re: Finding PDF form field names

2011-06-27 Thread Leigh
I am not sure about LPRAlienNumber. But for expirationdate use index. Example: cfpdfformparam name=expirationdate index=1 value=12/31/1899 / cfpdfformparam name=expirationdate index=2 value=10/10/1910 / cfpdfformparam name=expirationdate index=3 value=05/05/1955 /

Re: Finding PDF form field names

2011-06-27 Thread Leigh
The file has some restrictions, but seems to allow fill ins. You tried the exact code and none of the fields are populated? I tested with 9,0,1,274733 dev edition. -Leigh ~| Order the Adobe Coldfusion Anthology now!

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Yes, I tried the exact code :-/ The file is being created but nothing is in the form fields. -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:47:30 -0700 (PDT) Subject: Re: Finding PDF form field names The file

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Message- From: Ken Hammond khamm...@saleminc.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 15:51:54 -0500 Subject: Re: Finding PDF form field names Yes, I tried the exact code :-/ The file is being created but nothing is in the form fields. -Original Message

Re: Finding PDF form field names

2011-06-27 Thread Leigh
What version of CF? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
9,0,1,274733 -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 14:03:53 -0700 (PDT) Subject: Re: Finding PDF form field names What version of CF

Re: Finding PDF form field names

2011-06-27 Thread Leigh
Acrobat Reader on his PC, THE INFO IS THERE.  So, apparently that means Preview can't show the entered form field data...  I am officially out of my element with mac's : ~| Order the Adobe Coldfusion Anthology now!

Re: Finding PDF form field names

2011-06-27 Thread Dave Watts
OK, hold the phone!  I'm on a mac so I have been using Preview.  Guess what... Preview doesn't show the stuff.  I sent it to a co-worker who uses Acrobat Reader on his PC, THE INFO IS THERE.  So, apparently that means Preview can't show the entered form field data... Right. Preview