Hiya. I'm trying to send two FDF responses, a status message and a field/pair value, from a PHP script that has processed a HTTP POST. The status message is sent to the form successfully, but the field value is not sent to a form created in LiveCycle Designer (ES4 Version 11). Here's what I have:
<?php header('Content-type: application/vnd.fdf'); // read and store the data however you want // reply with some FDF data echo <<<RESPONSE %FDF-1.2 1 0 obj<< /FDF << /Status (Wham bam! Journal data sent electronically. Save a copy of this PDF for your records.) /Fields [ <</T(batchnum)/V(testt)>> ]>>>> endobj trailer<< /Root 1 0 R >> %%EOF RESPONSE; ?><?php
I think I have tried the gamut, removed "!", "copy", "for" from the status message; adding quotes, single and double, as well as ``; spacing; changing and verifying field names; send only the /Status and sending only /Fields (btw no errors while is still not sent); and on. Additionally, the above PHP code works perfectly, sending both status and fields, on a form created in Acrobat Pro XI. But no success in LiveCycle where I need the form created to dynamically manage rows and such. Ideas? Anyone?