drizzdo Posted June 6, 2011 Share Posted June 6, 2011 Hello, I have been asked to create a PDF form to collect data about my company volunteer database. We have been specifically requested to use PDF so I cannot create an HTML form. I created a PDF form in lifecycle, it is linked to a PHP parser which grabs the data and supposedly sends it to a database (I have no database at the moment so I am sending this to google form, I have tested it and it works if I open the PDF in IE. My problem is when I open the PDF in acrobat, it connects to the parser but fails to send the data to the google form. Instead it loads the parser in acrobat, and then I cannot submit it. Here is the PDF: http://www.paulgerhard.eu/volunteer_form_db.pdf the parser: http://www.paulgerhard.eu/submit.php code: ---------------------------------------------------------- <?php $formURL = "https://spreadsheets.google.com/a/qf.org.qa/formResponse?hl=en_GB&formkey=dF9vNmgtR1pCa3gyd05PV1g3c054dVE6MQ&ifq"; ?> <?php echo '<form action="' . $formURL . '" method="POST">'; echo ("<textarea name=entry.0.single wrap>$_POST[FirstName]</textarea><br/>"); echo ("<textarea name=entry.1.single wrap>$_POST[LastName]</textarea><br/>"); echo ("<textarea name=entry.2.single wrap>$_POST[interest]</textarea><br/>"); echo ("<textarea name=entry.3.single wrap>$_POST</textarea><br/>"); echo ("<textarea name=entry.4.single wrap>$_POST[Telephone]</textarea><br/>"); echo '<input type="submit" name="submit" value="Submit">'; echo '</form>'; ?> --------------------------- what am I doing wrong? I am not sure if this is a parser problem or an acrobat/lifecycle problem ( in which case I am sorry to post it in phpfreak and will go check at acrobat thanks Link to comment https://forums.phpfreaks.com/topic/238543-pdf-form-parser-to-google-docs/ Share on other sites More sharing options...
drizzdo Posted June 6, 2011 Author Share Posted June 6, 2011 ok no reply, I have read that maybe one of the solutions is to send the POST data directly without the submit button. For this i would need a to use a class such as cHTTP. however I have no idea how to use it any help would be welcome Link to comment https://forums.phpfreaks.com/topic/238543-pdf-form-parser-to-google-docs/#findComment-1225841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.