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?