Skip to Content
0
Former Member
Jun 11, 2007 at 01:24 PM

avoid refreshing screen values

18 Views

Hi all,

I have developed a screen with some input fields and there are some validations based on values entered in those input fields. For Example there is a field Category which is a dropdown and there is a field Comments which is text field, and there is a field Account which is a input help field. Now when I select a particular category from dropdown and enter some comments without selecting account, an error would be triggered using javascript alert. Now my issue is when an error message is triggered all the comments gets refreshed and even the category gets cleared off. How shall I avoid clearing of the fields, any pointers on this?

Thanks and Regards,

Sneha.