• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

Is it possible to have a PDF form that can be emailed using Coldfusion or is there another way?

I'm wondering if it's possible to have a pdf form that can be filled out and then emailed? Maybe Coldfusion is not necessary?
0
brihol44
Asked:
brihol44
1 Solution
 
SidFishesCommented:
you need Adobe Acrobat (full version) LiveCycle Designer to create fillable forms (called FDF's ). CF8 can manipulate these  but i believe you can't create them in CF

The alternative is to use a standard html form, submit the info, format as you like then use <cfdocument format="pdf"> to create the pdf and use cfmail to mail it

a basic outline


<form action="index.cfm" method="post">
<input type="text" name="t1">
<input type="submit">
</form>

<cfif isdefined('form.t1')>
<cfsavecontent variable="myDoc">
<html>
--whatever--
#form.t1#
</html>
</cfsavecontent>

<cfdocument format="pdf" filename="pathtofolder\test.pdf">
#MyDoc#
</cfdocument>

<cfmail...>

</cfif>




0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now