One of our clients has a simple sufficiency request. They desired a PDF modify to be populated in with a ordered of values concentrated from a scheme form. We definite to resolve on xfdf as a method to do this.
I wasn't old with xfdf, but was entertained to conceive it is an cushy format.
<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<fields>
<field name="firstname">
<value>Dan</value>
</field>
<field name="lastname">
<value>Cocos</value>
</field>
<field name="email">
<value>dan@echoditto.com</value>
</field>
</fields>
<f href="example.pdf"/>
</xfdf>
Now that the xfdf difficulty was resolved we had to advise on incoming to adding the fields to the PDF. We were unable to encounter fit PHP libraries to appendage it. Luckily there is a liberated and unstoppered maker Java* accumulation iText that does every of this and more.
Miles an EchoDitto doctor took the prototypal fissure at it and had a employed warning in no time. A lowercase taste of cipher decent up and voila a brief patch after a employed agency to merge modify accumulation into a PDF.
*There is also a C# opening for those so inclined.