Hello, I have a text field and added the class type as Date, to validate the date entered.
TextField txtDate = new TextField("txtDate", new Model(), Date.class); I have two button in the same screen one for the Save for another for Reset. When i enter invalid date and press the save button, valid error message is shown. But when i press the reset button then also it validates and shows the errro message. How to avoid this and kindly explain the factor.