How to calculate value base on users answers

  • Tjerk
    Gevraagd op 5 juli 2023 om 08:56

    Beste,

    Is er een mogelijkheid binnen Jotform om een verdeelvraag toe te voegen. Hier bedoel ik mee dat men 100 punten te verdelen heeft over vier antwoordmogelijkheden obv. 'belangrijkheid'.


    Voorbeeld:


    Waar wil je dat er meer geld naartoe gaat? Verdeel €100 o.b.v. belangrijkheid:

    [bedrag invullen] Natuur

    [bedrag invullen] Wegenbouw

    [bedrag invullen] Woningbouw

    [bedrag invullen] Ouderenzorg


    Mogelijke resultaten:

    25 Natuur

    50 Wegenbouw

    12 Woningbouw

    13 Ouderenzorg


    OF bijvoorbeeld:

    10 Natuur

    20 Wegenbouw

    30 Woningbouw

    40 Ouderenzorg


    Zolang de cijfers bij elkaar opgeteld maar '100' zijn.


    Ik hoor het graag


    Met vriendelijke groet, Tjerk

  • Chris_L Jotform Support
    Geantwoord op 5 juli 2023 om 11:49

    Hi Tjerk,

    Thanks for reaching out to Jotform Support. Unfortunately, our Dutch Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Dutch, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. It is possible to implement your requirement, we just need to apply the condition logic. Let me show you how:

    1. In Form Builder, click on the Add Form Element menu. 
    2. Drag and drop the Short Text element to your form.
      How to calculate value base on users answers Image 1 Screenshot 80
      Optional, you can also add the Paragraph element.
    3. Next, go to the Widgets tab and search for the Form Calculation widget. Drag and drop the widget into your form.
      How to calculate value base on users answers Image 2 Screenshot 91
    4. Select the Form Calculation and click on the Wand Icon.
    5. Click the Add Field button to Short Text elements. Add a plus sign between the elements.
      How to calculate value base on users answers Image 3 Screenshot 102

    Now, let's set up the condition logic.

    1. In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.
    2. Click on Conditions on the left side of the screen.
    3. Click on the Add a new Condition button and select Show Hide Field
      How to calculate value base on users answers Image 4 Screenshot 113
    4. Create the conditions shown in the screenshots below.
      How to calculate value base on users answers Image 5 Screenshot 124
      How to calculate value base on users answers Image 6 Screenshot 135
    5. Finally, click on Save.

    Here is the form in action.
    How to calculate value base on users answers Image 7 Screenshot 146

    Here's the link to my demo form. You can clone the form to review its settings.

    Give it a try and let us know how it goes.

  • Tjerk
    Geantwoord op 6 juli 2023 om 03:20

    Hi Chris,

    Thanks for your answer. Exactly what I needed.

    Kind regards,

    Tjerk