Character set filtering


does Vaadin has a component or add-on which is capable of filtering a set of characters?

Suppose that I would like to allow user to introduce just alpha-numeric values and all over to ignore, or to rise an exception in case other chars exists.

I know that this could be done with regex and another ways, I just want to reuse something that exists, if exists.

Thank you.

You could use the
CSValidation add-on
for that with a regexp for the allowed chars.

Always remember to use server-side validation as well.