Field with user options that adds to 100

  • Profile Image
    yfridgant
    Asked on March 22, 2014 at 01:26 AM

    Hi , what field type or widget would you suggest for the following use. I need a user to allocate a proportion of their time amongst 3 or 4 options. For example, what % of your leisure time would you allocate to x,y, z? I need the respondet to be able to enter reading, fishing etc as they like and a percentage against each. it can be visual (like a slider)  or numerical ? I saw one recently I thought would work but can no longer find it? 

    thank you

  • Profile Image
    NeilVicente
    Answered on March 22, 2014 at 02:05 PM

    I think the Grading widget might be what you're looking for:

     

    This will allow you to ask your users to allocate a percentage (from 100) to options that you specify.

    Please try it out and let us know if you have other questions or concerns.

    Cheers!

  • Profile Image
    yfridgant
    Answered on March 23, 2014 at 07:23 PM

    Yes! thats the one I was loking at !

     

    I really need the reposndent to be able to type their own categoires in place of A, B,C (eg reading, cooking etc)  and then be able to give it a grade out of 100? Or should I be using a different field/widget? Tnanks

  • Profile Image
    jonathan
    Answered on March 23, 2014 at 08:22 PM

    Hi,

    I think you can use the Calculation widget in this case.

    http://www.jotform.com/blog/97-Introducing-Field-Calculations-for-Forms

     

    Here is my sample form http://form.jotform.me/form/40817833231451?

    Hope this help. Inform us if this is not a viable solution for you.

    Thanks!

  • Profile Image
    strategicdifferences
    Answered on March 23, 2014 at 08:56 PM

    Thanks - I considered that one , but can I put any validation on the calculation widget ? the grading widget allows you to put a maximum - so they cant go over 100 for example.

     

    thanks

  • Profile Image
    jonathan
    Answered on March 23, 2014 at 09:27 PM

    Hi,

    Unfortunatelly, there is a known glitch in the calculation field, that it does not have validation when used in the Condition.

    I reported a similar case here http://www.jotform.com/answers/351152

    Because of the no validation, you could not use numerical logic like maximum, greater than, min, etc..

    This is the reason I setup the condition in my sample form http://form.jotform.me/form/40817833231451 in such way.
    As it was the only way I could force the form user to maxed the rating total to 100 only. =)

     

    Thanks!

  • Profile Image
    strategicdifferences
    Answered on March 23, 2014 at 09:55 PM

    thanks - I see you put it as a featrue request, but just putting the instruction in text is not really validation is it? thanks for trying though

  • Profile Image
    jonathan
    Answered on March 23, 2014 at 10:02 PM

    Hi,

    I am sorry if I had it confusing. I was not referring to the instructions text on this form http://form.jotform.me/form/40817833231451 as the validation.

    In the ticket I submitted on the other thread, I sprecified the calculation field instead as the one that needs validation.

    Hope this clarifies the matter.

    Thanks.