Greetings,
Is there a particular CGI script that is super easy for a non-programmer to configure that I can use to send the PDF form's data (set to "export as html" in Acrobat) in an email? to a database?
And, if the form can export data as HTML, why can't it be handled (i.e., saved to a database or sent in an email) using PHP, or ASP or ColdFusion for that matter?
Is there a way to set up form to database functionality in Dreamweaver MX, then substitute a PDF version of the same form, using the same name/value pairs, etc., and set to "export as html" in Acrobat, and have it work the same as the plain html form did?
I'm looking for a simple way to substitute an Acrobat PDF form (set to "export as html" in Acrobat) and function the same as a plain HTML form.
For instance, I have a one field PHP email form at
http://www.truenyc.com/ which submits your address to the site owner. This is the only php script on the page:
<?php require_once("WA_Universal
_Email/Mai
l_PHP.php"
); ?>
<?php require_once("WA_Universal
_Email/Mai
lFormattin
g_PHP.php"
); ?>
<?php
if (($_SERVER["REQUEST_METHOD
"] == "POST")) {
//WA Universal Email object="Mail"
//Send Loop Once Per Entry
$RecipientEmail = "david@truenyc.com";includ
e("WA_Univ
ersal_Emai
l/WAUE_ind
ex_1.php")
;
//Send Mail All Entries
if ("thankYou.html"!="") {
header("Location: thankYou.html");
}
}
?>
Now, I'm well aware of the two external script files that are "required once," but the question is, since the Adobe PDF form is "exporting HTML," would it be possible to somehow include the same snippet of PHP in the PDF, perhaps as a field action (instead of javascript) or perhaps even somehow using javascript, such that it works as well as the present HTML/PHP form does?
Or alternatively, could one develop a database application in Dreamweaver/PHP, using html forms, then substitute PDF forms with identical fields, and somehow get whatever PHP is on the HTML form page passed along from the PDF form (set to export as html)?
Can someone recommend an ideal forum (newbie friendly, please) or other resource directly on this topic? Any help with this is much appreciated.
regards,
stevenjs
__________________________
____
"I am but an egg."
--Stranger in a Strange Land