Limit input value based on number of selections RESOLVED

  • Profile Image
    AA_C
    Asked on July 11, 2015 at 05:43 PM

    formID=51914358490965

    Hi,

    On my form I have fields for entering a value between 1 and 4.

    The value represents a judge picked for that event.

    Up to 4 judges can be selected for a trial but if only 1 or 2 are selected I want to limit the value that can be entered to only 1 or 2. Also I don't want the same value being entered in both boxes.

    In my image I show the first row. Box 1 is the number of this type of event,

    box 2 and 3 the number of judge(s) for this event. The same number should not be available for each box in the row, so 1 cannot be entered in both boxs.

     

    TNX,

    Robert

     

  • Profile Image
    Chriistian
    Answered on July 11, 2015 at 10:52 PM

    Hi AA_C,

    Thanks for contacting us.

     

    I am currently checking your form. Please give me more time to further check this issue. I will get back to you as soon as I get a result. 

     

    Regards.

  • Profile Image
    Chriistian
    Answered on July 12, 2015 at 12:04 AM

    Hi AA_C,

     

    Can you try the following steps to implement the logic?

    1. Add four (4) Text Box Field. Set fields to hidden. 

    2. Add Update a form field value conditions to the added Text Box fields.

    3. Add a one (1) Calculation Field. Set field to hidden.

    4. Setup Calculation field as shown below. (Judge1,Judge2,Judge3,Judge4)

    5. Add Text field for the error messages.

    6. Add condition to show error if user selected incorrect judge.

    7. Add condition to show error if user selected the same judge.

    To implement this to the other fields you just need to repeat steps 5 to 7 (replacing {SSJ1} and {SSJ2} to the name of the other fields).

     

    To further see the setup, you can check my cloned form here - http://www.jotformpro.com/form/51918448516968?.

     

    Do let us know if you need further assistance.


    Regards.

  • Profile Image
    AA_C
    Answered on July 12, 2015 at 01:38 PM


    ...
  • Profile Image
    AA_C
    Answered on July 12, 2015 at 01:43 PM

    HI,
    I have it all figured out NOW... Many Thanks to ALL!

    Robert

  • Profile Image
    Shadae
    Answered on July 12, 2015 at 02:44 PM

    Hi AA_C,

    On behalf of my colleague, you are most welcome.

    Please feel free to contact us, if you need further assistance.

    Thank you for using JotForm!