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

  • Profile Image
    sachinomg
    Asked 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
    Welvin
    Answered 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: