Announcement Announcement Module
No announcement yet.
validation error messages are not getting cleared Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • validation error messages are not getting cleared

    In my spring application, i've put some validators to validate form input for checking mandatory fields.

    When i load the portlet and without entering the data, if i click submit button, it displays 'mandatory field required ' error message. But next time, after entering correct values and click on submit button, the error message still persists.

    What i observed is, error messaged once displayed doesn't get flushed out even when correct inputs are entered.

    Can anybody tell the reason why it's happenning like that? Is the error messages are getting cached?

    How can i flush out those error messages next time when form is submitted?

    Please help.