Multi-Enum Set Condition to Select Minimum 1 and Maximum 3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VigneshChinnaiyan
    Member
    • Jan 2018
    • 61

    Multi-Enum Set Condition to Select Minimum 1 and Maximum 3

    How can we set a condition on Multi-Enum to make user to must select minimum 1 and maximum 3 options from the list. Can you please share me the filename to edit to achieve the requirement?
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    You have do define own view for your field extends views/fields/multi-enum 505/client/src/views/fields/multi-enum.js
    I think you need to override addValue method (look in array.js)

    Comment

    • VigneshChinnaiyan
      Member
      • Jan 2018
      • 61

      #3
      Thanks Tanya! Will Look on it.

      Comment

      Working...