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

    How can I make the one input to be non-mandatory based on the first four inputs?

    Asked by sachinomg on May 11, 2017 at 07:41 AM

    Form https://www.jotform.com/build/71153627337456

     

    There is Preference number field created.

    5 subjects in first column. Student should give preference number for only 4 subjects. Preference number should 1, 2, 3, 4 only.

     

    I need condition - don't accept another preference number. 

    only 4 cells is mandatory. 

     

    Please guide. 

  • Profile Image
    JotForm Support

    Answered by Welvin on May 11, 2017 at 09:17 AM

    I'm sorry, but this is not possible with only one matrix field. A workaround would be to separate it into five matrix fields or textbox fields then hide the last one when four fields are filled.

    Here's demo for you using textbox fields: https://form.jotformpro.com/71303204281947. The conditional logic is like this: