Docx to PDF with signature



  • I have a .docx template with handlebars using the docx recipe to fill out some data on a business proposal. I am wondering if it is possible to have "pdfFormField"s (like checkboxes and signature) in my docx template so that the final result is a pdf.
    Any help is appreciated.



  • Have you tried the Word developer ribbon to insert the checkbox? This gets converted into pdf fields.
    0_1721294553146_upload-26868982-adcc-4b71-b174-ca86a64b7b56

    Adding pdfFormField doesn't work now, I've added backlog task, but we will primarily look into leveraging the Word native fields. https://github.com/jsreport/jsreport/issues/1151



  • Thank you @admin, I will try that. But this wouldn't work for a signature field, right?

    Is there a way to convert a docx to pdf while parsing the handlebars?

    Thank you again



  • But this wouldn't work for a signature field, right?

    Word doesn't seem to have a signature field.
    And the signature line doesn't get converted to a pdf signature field.
    So it seems it won't work.

    Is there a way to convert a docx to pdf while parsing the handlebars?

    What do you mean here?


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.