Rate the choices and calculate how much is remaining.

  • Profile Image
    mbas123
    Asked on April 27, 2015 at 02: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

     

  • Profile Image
    Ben
    Answered on April 27, 2015 at 09:14 AM

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

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

  • Profile Image
    mbas123
    Answered on April 28, 2015 at 02: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

  • Profile Image
    Ben
    Answered on April 28, 2015 at 09: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.

  • Profile Image
    mbas123
    Answered on May 04, 2015 at 08:37 PM

    Hi,

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

    Thanks,

    Rey Galvez

     

  • Profile Image
    Charlie
    Answered on May 05, 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.

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

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

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

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

     

    I hope that helps.

    Thank you.

  • Profile Image
    mbas123
    Answered on May 05, 2015 at 01: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.

    Thanks,

    Rey Galvez

  • Profile Image
    ashwin_d
    Answered on May 05, 2015 at 06: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!