How can I find out who filled my form via Jotform API?

  • SWIA
    Asked on June 25, 2024 at 2:08 AM

    Hello there,

    We have a private form, that we share with 10 or so technicians. We share via email, so each user has to login to fill out the form.

    When submitting the form via the API, we are trying to find out who filled out the form, but I can't seem to see this in the API response

    I do not want them to fill out a question-answer field to get this information.

    Is there a widget or something in the API that returns the user's email address , and includes it in the form automatically upon submission?

  • Lara JotForm Support
    Replied on June 25, 2024 at 2:21 AM

    Hi SWIA,

    Thanks for reaching out to Jotform support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

  • Lara JotForm Support
    Replied on June 25, 2024 at 3:18 AM

    Hi SWIA,

    Unfortunately, this is currently not possible. Unfortunately, this isn't directly possible with JotForm. Unless you assign the form, it doesn't save who opened the link. However, there's a workaround using the prefill feature. You can add an email field, hide it, and prefill it so your users won't know it's there. Let me show you how:

    First, add an email field to your form:

    1. In your Form Builder, Click Add Form Elements from the left panel.
    2. Drag the Email field to your form.
    3. Click the gear icon next to the email field.
    4. Go to the Advanced tab and enable Hide Field.

    How can I find out who filled my form via Jotform API? Image 1 Screenshot 40Next, let's set up a manual prefill for your form.

    • In the Form Builder, click Publish from the orange tabs.
    • Select Prefill from the left panel.
    • Click Add a New Prefill.

    How can I find out who filled my form via Jotform API? Image 2 Screenshot 51

    • Type in the email address of the user you’ll invite filling out the form.
    • Click Create in the upper right.

    How can I find out who filled my form via Jotform API? Image 3 Screenshot 62Repeat these steps to create unique links for each of your users. After that, you can now use the JotForm API to get the submission data, including the hidden prefilled email addresses.

    Give it a try and let us know if you need any help.

 
Your Answer