Its been quite a while since i made a blog post. I have been working on generating a couple of reports for my application and generating those took forever. Now here i am finally done with my application and adding a few modifications to make it look good.
I was trying to get a TextField’s regex with the first character being a number. This post is mainly to change the error message we get with the little red exclamation mark beside the text field.
shiftNo.setRegex("[0-9][[0-9][a-z][A-Z]]*"); shiftNo.getMessages().setRegexText("shift number should always start with a number");
No comments:
Post a Comment