How can I attach a pdf document for a form having the formId

  • tdhmarketingdrive
    Asked on September 20, 2024 at 6:43 PM

    Hello,


    How can I attach a pdf document for a form having the formId?


    By the way I created the form using client.PostAsync("https://api.jotform.com/form", content);


    is there a way to specify the form is for signing documents?


    regards

  • Afzal JotForm Support
    Replied on September 20, 2024 at 10:23 PM

    Hi tdhmarketingdrive,

    Thanks for reaching out to Jotform Support. Unfortunately, there's no API endpoint for automatic PDF generating but you can add the PDF to the Notification email using the form builder. Let me walk you through it:

    1. In Form Builder, click on the Downward Arrow icon next to the Jotform Logo and select PDF Editor. Doing this will automatically generate a PDF file for your form.

    2. A pop-up will be displayed to ask whether if you want to fill out the form, click on Cancel to proceed.

    How can I attach a pdf document for a form having the formId Image 1 Screenshot 30

    3. After creating it, go back to Form Builder and click on the Settings tab in the orange navigation bar.

    4. Click on Emails in the menu on the left side of the page and then click on the Pencil icon that appears when hovering over the Notification Email element.

    5. Under the Advanced tab, toggle PDF Attachment to the On position and choose the PDF file you created.

    6. Now, scroll down the page and click on Save.

    How can I attach a pdf document for a form having the formId Image 2 Screenshot 41

    Give it a try and let us know how it goes.

Your Answer