> I am not creating forms. I have pdf which needs to feed the variables like > Company Name: *ABC company* > > I need to put the company_name variable where ABC printed. > I don't want to create a form element that should be rather than just > #company_name# and not <input type="text" name="company"> > > As you said that I can use the cfpdfform action="populate" with > cfpdfformparam values nested > That will be used for the form values. What if I have no form in my pdf at > all? > How do I created variables (to display, not form variables) in pdf file? > I see the "textfield" in livecycle designer in object library but again that > will create the texfield type form element in my pdf which I don't want. I > only want to display data there where the company name is not the input > field.
PDFs don't have "variables" in the sense in which you're referring. My recommendation is that you make the PDF into a form, and make the fields read-only with no decorative elements. Then, you can easily inject the values you want using CFPDFFORM, etc. This is a very common approach to this problem. If you have an existing PDF that's not a form, simply import it into LiveCycle Designer as "background art" using the "fixed pages" option. Then, draw out whatever form fields you need, remove their captions and any other visual elements, and set them to read-only. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329361 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4