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

  • Profile Image
    Asked on May 11, 2017 at 07:41 AM



    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
    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: The conditional logic is like this: