tag:blogger.com,1999:blog-5824660313967021040.post7727340896765861901..comments2022-03-26T08:56:28.677-07:00Comments on cfSearching: Submit PDF Form as HTML with ColdFusion - Part 2Unknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5824660313967021040.post-678541227243788722009-03-26T13:37:00.000-07:002009-03-26T13:37:00.000-07:00@Jose,The button location is determined by the dim...@Jose,<BR/><BR/>The button location is determined by the dimensions (ie Rectangle settings). <BR/><BR/>// step 4: set the button dimensions<BR/>buttonDimen = Rectangle.init( ... );<BR/><BR/><A HREF="http://1t3xt.info/api/com/lowagie/text/Rectangle.html#Rectangle(float,%20float,%20float,%20float)" REL="nofollow">com.lowagie.text.Rectangle</A>cfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-34983397549336624862009-03-25T20:19:00.000-07:002009-03-25T20:19:00.000-07:00Very nice article!However, is there a way to place...Very nice article!<BR/><BR/>However, is there a way to place the "Send Form" button in a different location? I've tried this:<BR/><BR/>newButton.setAlignment( PushbuttonField.ALIGN_CENTER );<BR/><BR/>but it's throwing an error.<BR/><BR/>Thanks!<BR/>JoseJosehttps://www.blogger.com/profile/06026316682673679097noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-84569807586302866402008-07-03T07:35:00.000-07:002008-07-03T07:35:00.000-07:00@Jason,Yes, I receive same error with Internet Exp...@Jason,<BR/><BR/>Yes, I receive same error with Internet Explorer when PDF is displayed in the browser, rather than downloaded. <BR/><BR/>I am serving up pdf's for download (ie using cfheader + attachment, not inline). So I am not certain why that is happening. I will have to look into this one.cfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-91493671728831795992008-07-03T05:22:00.000-07:002008-07-03T05:22:00.000-07:00Sorry, I've "cfcontent" the pdf file in the browse...Sorry, I've "cfcontent" the pdf file in the browser and got that error. It works perfectly fine when I open the file directly.<BR/><BR/>Anyway, thanks for the quick response.Jasonhttps://www.blogger.com/profile/01714266163226296249noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-8817112525503997962008-07-03T04:34:00.000-07:002008-07-03T04:34:00.000-07:00@Jason,I copied and pasted the code from Part I an...@Jason,<BR/><BR/>I copied and pasted the code from Part I and Part II above. To ensure the blogger did not mangle the code. It works perfectly for me.<BR/><BR/>Silly question, but did you copy+paste the code exactly? What versions of the following are you using?<BR/> <BR/>- CF <BR/>- iText <BR/>- Adobe ReadercfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-1731409332684183572008-07-02T22:40:00.000-07:002008-07-02T22:40:00.000-07:00I tried this form submission but I got this error:...I tried this form submission but I got this error:-<BR><BR><BR/><BR/>Unable to locate the form, because the FDF lacks an /F key. If the FDF came back as a result of a submit from a PDF form, then the URL is probably missing "#FDF" at the end.Jasonhttps://www.blogger.com/profile/01714266163226296249noreply@blogger.com