Forum


Replies: 3   Views: 2233
Editable form fields after conversion from docx to pdf
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 23-08-2019 - 09:09

Hello,

That option exports form fields and its values. This is for example an input field or a dropdown field, if you open the PDF with any program such as Adobe, Foxit or Google Chrome you can change both fields (input and dropdown) and save the changes.. It needs using structure document tags (https://www.phpdocx.com/api-documentation/word-content/add-structured-document-tag-Word-document-with-PHP).

You can test it manually using LibreOffice. You can open the DOCX with LibreOffice and then choose File->Export As->Export As PDF , in the next window you need to enable Create PDF form (FDF format). phpdocx does the same process but with the transformDocument method and a single line of PHP.

Regards.