Validation on page properties dialog | Community
Skip to main content
Level 4
November 7, 2023
Solved

Validation on page properties dialog

  • November 7, 2023
  • 1 reply
  • 707 views

I have added a multifield component on page properties. I want to have a validation on the values entered in it by authors. 

It is a textarea.

 

Validations: Author should be able to enter only numeric values and ',' in special characters. Also, there should be a maximum length of characters allowed in this textarea. Otherwise, it should throw a message in red color.

How can I write this custom validator? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.