Redirect to different URL's based on calculation values

  • Peternccb
    Asked on April 24, 2017 at 9:48 AM

    I have a form with 10 questions. Each question has 3 answers per question (1, 2 or 3). Depending on the calculation of all 10 questions, the user will be sent to 1 of 3 pages when it gets submitted. 

    1. If the majority of the answers are 1's, then they will be sent to URL 1.

    2. If the majority of the answers are 2's, then they will be sent to URL 2. 

    3. If the majority of the answers are 3's, then they will be sent to URL 3. 

    4. If it's a mix of answers with no majorities, then they will be sent to URL 2. 

    5. If it's a mix of answers, but there at least 5 of an answer then they will be sent to URL 2. 

     

    I think this will be best resolved with calculations, but can't figure it out. Can somebody assist? 

     

  • David JotForm Support
    Replied on April 24, 2017 at 12:23 PM

    You can assign your options calculation values:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    You can then add up those values in a calculation field:

    https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    Then, if your total meets certain thresholds, you could conditionally redirect users to your different pages upon completion of their submissions:

    https://www.jotform.com/help/317-Change-Thank-You-Page-URL-Based-on-a-Condition