Method isMultiValue ()

Method isMultiValue ()

klermannklermann Posts: 277Questions: 67Answers: 1

Hello, what is the purpose of validating the method isMultiValue ()

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    I'm not sure what you mean by validating the method? Are you testing it?

    Allan

  • klermannklermann Posts: 277Questions: 67Answers: 1

    In the editor to validate the editor form fields. For example, !field.val () for non-empty fields and this isMultiValue () for what purpose do I use it?

  • Tester2017Tester2017 Posts: 145Questions: 23Answers: 17
    Answer ✓

    If field.isMultiVal() returns true it means that field has multiple values. What is implicating that the user has not changed the value of this field and no validation is necessarily.
    This is only the case if you are editing more than 1 row at the same time.

This discussion has been closed.