How can I limit the user to only be able to select one rating accross several scale tools?

  • doohsam
    Asked on May 1, 2015 at 7:24 AM

    If I have 5 factors such as:

     

    1. Reasoning 1-5

    2. Critical thinking 1-5

    3. Creativity 1-5

    4. Decision Making 1-5

    5. Openess 1-5

     

    I only want the user to be able to pick one option for each scale. So if they pick 3 for reasoning they cannot select this in the remaining ratings, so creativity must be 1,2,4 or 5.

    Thanks

  • Welvin Support Team Lead
    Replied on May 1, 2015 at 11:28 AM

    Hi,

    I'm trying to come up with this idea: http://form.jotformpro.com/form/51204661529957?. As you could see, if the values are the same for the fields, the submit button is hidden. Will follow up for the details on how to set it up like this. This is the easiest way we could come up to accomplish your requirement.

    Thanks

  • Ben
    Replied on May 1, 2015 at 12:31 PM

    Hi,

    My colleague and myself had been tinkering about your request and the form above or this one: http://www.jotformpro.com/form/51204658988972 show just that.

    Basically what they do is to check each scale tool to see what the result on it is and then compare each of these results to make sure that not one of them is the same.

    If they are, you are no longer able to submit due to the submit button being hidden, but you can also make it show some error instead.

    To do this, it is important to note that more fields you have, more checks are needed, hence more conditions.

    To set up the form above, these would be the steps:

    1. add the scale tools
    2. add the Form Calculation widgets (one for each scale tool)
    3. add the scale tool as a number into each Form Calculation widget

    How can I limit the user to only be able to select one rating accross several scale tools? Image 1 Screenshot 40

    Now when you added all of them, it is time to do conditions.

    You must create a cross check for all fields so that no field can be the same as any other.

    For 2 fields you need 1 condition, but for 5 fields you need 10 conditions

    How can I limit the user to only be able to select one rating accross several scale tools? Image 2 Screenshot 51

    As mentioned, you can see it in action here: http://www.jotformpro.com/form/51204658988972 and you can clone it to your account by following the steps here: How to Clone an Existing Form from a URL and then build up on it.

    Now, in conditions, you can see {_decisionMaking} - that is a field tag. To find it out for some field, you should check this guide: How to find Field IDs & Names

    Of course you can also hide the Form Calculations by right clicking on them and then selecting Hide Field option

    How can I limit the user to only be able to select one rating accross several scale tools? Image 3 Screenshot 62

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

  • doohsam
    Replied on May 5, 2015 at 8:10 AM

    Thanks guys, I'll try that.