What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Limit input value based on number of selections RESOLVED

    Asked by AA_C 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

     

    Page URL:
    http://www.aac.ca/en/forms/TrialApps/index.php

    Screenshot
    selected 3 same and
  • Profile Image
    JotForm Support

    Answered by Chriistian 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
    JotForm Support

    Answered by Chriistian 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

    Answered by AA_C on July 12, 2015 at 01:38 PM


    ...
  • Profile Image

    Answered by AA_C on July 12, 2015 at 01:43 PM

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

    Robert

  • Profile Image

    Answered by Shadae 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!