Validating form input via a webhook

  • adbertram
    Asked on December 26, 2018 at 11:05 AM

    Is it possible to create a form that, when submitted, sends a webhook to an API, waits for a response and then compares that output returned with the field value?

  • Kiran Support Team Lead
    Replied on December 26, 2018 at 11:15 AM

    I am not sure if I understand your query correctly. Do you mean to check the field value of a submission using a webhook? Please note that the webhooks can only be triggered only after submitting the form. The value entered to the submission may be compared with another value after submitting the form using a webhook or a custom program. However, the result may not be able to post it back to the form since the form is already submitted.

    Let us know if you are referring something different. We will be happy to help. 

  • adbertram
    Replied on December 26, 2018 at 12:36 PM

    I see. I was hoping there was some interim validation stage before submitting the form that allowed me to check a form item's value by sending and receiving input via a webhook and then doing the comparison. From your response, it appears there's no way to do that other than the way I'm doing it now which is accepting the submission and then doing the validation after.

  • Richie JotForm Support
    Replied on December 26, 2018 at 1:03 PM

    Unfortunately,as what my colleague have said the form needs to be submitted first before the webhook can be triggered. Validation can be done after the form is submitted.


    If you need further assistance, let us know.