> Hello:
> I have a servlet that displays six required input fields to a user. When
the user clicks
> the submit button, the values entered by the user are validated against a
table. If they
> are not valid, a page is displayed that points out the invalid values. In
order for the
> user to correct his value, the user has to click the browsers back button.
Is it possible
> to have a message box popup in the same page ( page where user enters the
values ) that
> will display the invalid values and if the values are valid move on to the
next page. In
> this way the user does not have to use the back button when invalid values
are entered.
> Any suggestions/ideas would be appreciated.
> Thanks,
> J
I have done something like this via frames. Set the TARGET to be a small
"status line" frame at the bottom of the screen, and perform your validation
and updates there. If there's an error or validation failure, you haven't
moved from the main window that the user entered the info in, and they can
fix it. If it succeeds, send back (in that small status bar) an "OK" message
and a Javascript command to refresh the main window with the updated data.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html