When the user does not place enough characters (19) I want to show a error
message different than
'1234' is not exactly 19 characters long.

I have a properties file, but I don't know what the element would be called.

I have tried

form.card.ExactLengthValidator=19 Digits are required.

But Obviously ExactLengthValidator is not the right key.

My Java code looks like this..
form.add(new TextField("card", String.class).setRequired(true).add(new
StringValidator.ExactLengthValidator(19)));

What is the key, and where in the JavaDocs is the best place to find all the
keys.  (The wiki only had a couple of the keys.)

Thank you,
jose

Reply via email to