Rate the choices and calculate how much is remaining.

  • mbas123
    Asked on April 27, 2015 at 2:29 AM

    Hi, 

     

    I have a question in my survey that requires to automatically calculate the remaining value from a total of a 100.

     

     

    How much of your free time do you allocate to the following activities?      
    Relaxing / Reading / Watch TV / Surf the internet / Snacking       20
    Talk and communicating with family and friends         30
    Spending time with peers / Chatting / Card games etc        
    Excercising /physical activity              
                  Remaining 50

     

    The user can rate the sub question from 0 to 100. and the remaining will be displayed for the user to know how much is remaining out of the 100.

     

    Thanks,

    Rey Galvez

     

    Jotform Thread 559468 Screenshot
  • Ben
    Replied on April 27, 2015 at 9:14 AM

    Looking at your form Rey, it seems that you have already done this by utilizing Sliders with calculated result widget:

    Rate the choices and calculate how much is remaining Screenshot 20

    Do let us know if you have any further questions and we would be happy to assist.

  • mbas123
    Replied on April 28, 2015 at 2:51 AM

    Hi,

    Thanks,

    Now I want to change the position of the "Remaining" label. I want it to be right align.
    Also I want to change the line spacing of the label slider and the slider itself.

    Rey Galvez

  • Ben
    Replied on April 28, 2015 at 9:51 AM

    Hi Rey,

    Since these are 2 different things and both different from the original question, I have moved them to their own new threads - since we can only assist with one question / issue at a time.

    You can find the thread about the remaining label positioning here: http://www.jotform.com/answers/560314 and the other thread about the spacing here: http://www.jotform.com/answers/560315.

    We will be replying to both shortly.

  • mbas123
    Replied on May 4, 2015 at 8:37 PM

    Hi,

    Is there any other widget or ways I can achieved this kind of question.

    Thanks,

    Rey Galvez

     

  • Charlie
    Replied on May 5, 2015 at 12:04 AM

    Unfortunately, the only widget that has the slider with calculation function is the widget that you are using. 

    But, you could achieve this same type of process by using the "Slider" widget, a number field and conditional logic. Here's a sample form that I did: http://form.jotformpro.com/form/51239198580967?.

    Here are the steps on how I did mine:

    1. Add sliders that will represent each item where you wan to get the value.

    Rate the choices and calculate how much is remaining Screenshot 60

    2. Add a number field and set it to a max value that you want, in my case it's "100".

    Rate the choices and calculate how much is remaining Screenshot 71

    3. We will then add conditional logic to it. Click Conditions->Choose "Update a form field value".

    Rate the choices and calculate how much is remaining Screenshot 82

    4. Here I will add all the sliders and output it on the number field.

    Rate the choices and calculate how much is remaining Screenshot 93

    5. When the number field exceeds its max value, an error will be shown.

    Rate the choices and calculate how much is remaining Screenshot 104

     

    I hope that helps.

    Thank you.

  • mbas123
    Replied on May 5, 2015 at 1:50 AM

    Hi,

    Thanks

    Can we also change the message to "Input should not be greater than the maximum value" and "Input should not be less than the minimum value" if possible, I think the grammar of the default message is wrong., just to make the form more professional.

    Rate the choices and calculate how much is remaining Screenshot 30

    Rate the choices and calculate how much is remaining Screenshot 41

    Thanks,

    Rey Galvez

  • Ashwin JotForm Support
    Replied on May 5, 2015 at 6:52 AM

    Hello Rey,

    We cannot answer multiple questions in one thread. Although your latest question is related but it is a new question. I have moved it to a separate thread and you will be answered here:  http://www.jotform.com/answers/564235 

    Thank you!