How can I receive form data in node.js?

  • nsrgbjtkr14
    Asked on May 3, 2020 at 10:34 AM

    I am trying to create an application where the user receives a message of confirmation once the form is filled. I am using the number provided by the user in the form which has been stored in the database. However the form data is not being sent as an object but rather as a string. I am using a nodejs application and using it as a webhook to store the data in a database and send the message

    Jotform Thread 2299696 Screenshot
  • Flavio_A
    Replied on May 3, 2020 at 11:22 AM

    Hi @nsrgbjtkr14

    I suggest you have a look at our API documentation here:

    https://api.jotform.com/docs/#libraries

    If you need any further information, you can contact our API team at api@jotform.com.


  • nsrgbjtkr14
    Replied on May 3, 2020 at 11:31 AM

    I am not using the API, but rather I created a webhook where the form sends the data once it is filled. However the payload which I receive has the form data in the form of a string instead of an object. I hope this makes the question a bit more clear.


  • Flavio_A
    Replied on May 3, 2020 at 12:48 PM

    Hi @nsrgbjtkr14

    I am afraid I am not a node.js expert myself, so I will not be able to help you with that. 

    I suggest you contact our API team through api@jotform.com since they will still be able to provide the information you need regarding this issue.