tallence / core-forms

A simple and lean formeditor for the CoreMedia CMS.
Apache License 2.0
19 stars 13 forks source link

Studio Validator for regexp validator string for TextFields #26

Open timolemke opened 6 years ago

timolemke commented 6 years ago

the regexp validation string entered by editors in studio should be validated. If not validated successful a readable warning or error message should be presented to the editor

timolemke commented 6 years ago

Validating the struct by a studio validator might be to slow, because the whole struct has to be parsed each time a change is entered. Validating the input on the client side would be better. And the regexp validator string is not relevant for security, therefore a server-side validation is not mandatory. Imho...