Hello, I have a pdf-document and some fields are depend of users of my web-page that forms pdf documents. User writes some text in my form and it goes into generated pdf-document fields. So can I put text in pdf-form somehow "normal" way, without using position:... or just paddings, maybe its possible somehow get descriptors or what of fields that should be changed... like in JS: a = document.name[0].value etc? Thanks
Ok, I mean - how I can dynamicly put data into pdf-template? I can try to use XML, but maybe I was reading manual inattentively and I can find any way to do it with mPDF? Thanks
A PDF file is designed to specify exact layout on the page, so once it has been generated there is no ideal way to insert text - and it certainly won't re-flow text around the insertion.
You need to set up a HTML template, add the user-input and generate a new PDF file each time, to do it properly.
There is a "fudge" to insert small portions of text - see OverWrite in the manual