validate Editor

validate Editor

RajatNayakRajatNayak Posts: 4Questions: 3Answers: 0

How to validate a field on client side?

Answers

  • RajatNayakRajatNayak Posts: 4Questions: 3Answers: 0

    I have got answer.
    self.oEditor.error('PHONENUMBER','Phone number is not in correct format');

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    Yes - the error() method can be used to set an error message for a field. There is also field().error().

    Allan

This discussion has been closed.