Why are webhook questions out of order?

  • HelpfulHolidays
    Asked on February 12, 2016 at 9:24 AM

    Hello,

    I have a large multi section form 100's of questions.

    The results are posted to my website via a webhook, I have noticed that the questions are out of order - How do i fix this?

    In the screen shot you can see the requestBin response:

    q253, event_id, q_50, q85, q117

     

    I have also noticed that when I add a new question field, the new questions appear at the end of the web hook response - I assume this is because the input id's are different to the sort order.

     

    How can I get the web hook response to match the order of my form?

     

    Thanks.

    Jotform Thread 770962 Screenshot
  • HelpfulHolidays
    Replied on February 12, 2016 at 9:45 AM

    Hello,

    Can I add something , using your api I can get all of the questions via the api. 

    in the response for each form part, there is an order node, wold it be possible to get this node added to the web hook response?

    Thanks.

  • HelpfulHolidays
    Replied on February 12, 2016 at 11:45 AM

    actually you may as well just close this - i have written my own function that looks at the question order (gathered from your api) and then re orders the raw request sent via the webhook.

     

    thanks.