How to display Date and Number Fields with NULL values as invalid?
How to display Date and Number Fields with NULL values as invalid?
Hi,
I have TextFields that should not be empty. I use
field.setAllowBlank(false);
to achieve that.
When the fields are initialized they do not have any value assigned to them; their values are Nulls. But, these fields are not displayed as invalid (with the red border).