Can you add up form answers?

  • Profile Image
    Pip 
    Asked on January 09, 2022 at 11:58 PM

    Hi There

    I am just wondering if it is possible to have the following situation:

    Question would be something like:

    'How long have you lived at this residence?'

    Answer would be in number of months (so 6 for example). Submitter would have option to add in multiple answers (so new address with how long they lived at that residence).

    At the end, we might have 2 to 10 different residences each with a different time period.


    Is it possible to create conditional logic that only allows them to proceed if the TOTAL of ALL the residences they have added is over a certain number?



    Kind Regards

    Pip

  • Profile Image
    Sheena_M
    Answered on January 10, 2022 at 05:06 AM

    Hi there,

    Yes that would be possible using the Update/Calculate field Conditional Logic. You can perform a calculation to all of the user's answer and create a logic that will only accept if a certain number of the total is reached.

    Guide: How to Insert Text or Calculation into a Field Using Conditional Logic

    I have created a demo form you, feel free to clone it.

    Form URL https://form.jotform.com/220091663836962

    1641809098_61dc04ca4c5fa_

    In here I have set up a condition that the user will only allow to proceed if the total number is greater than 4.

    Hope this helps.