Ability to get the attached/uploaded file on form POST DATA

  • Profile Image
    tempusmed
    Asked on January 23, 2019 at 11:18 PM

    Is it possible to get the file attachments as well? if so, how?

     

    regards



    This is a re-post of a comment on How to Post Submission Data to Thank You Page

  • Profile Image
    jherwin
    Answered on January 24, 2019 at 02:06 AM

    Unfortunately, it is not possible to get the file attachment in Post data. As you can see in my screenshot below, post data is not able to get the file I uploaded/attached to my form.

    Demo Form: https://form.jotform.com/90231260995962.
    1548313502postdata.png

    I'm forwarding this as a feature request to our second level, although we cannot provide an ETA, we will keep you updated via this thread.

    Thanks.

  • Profile Image
    jherwin
    Answered on January 24, 2019 at 02:20 AM

    Sorry for the quick reply above. It seems you can get the file attached on your form, please refer to this guide: https://www.jotform.com/help/213-Send-Submission-Data-via-Post-Method-and-Thank-You-Settings.

    Other helpful guides related to this is about PHP Forms: https://www.jotform.com/help/237-PHP-Forms-Explained

    If you want to send the submission data directly to your server's database, instead of passing the data via the URL, you can use the POST method. However, you should be familiar with programming and PHP to execute this properly as you will be creating your own PHP endpoint that will receive the POST data.