Problem maintaining user entered data when displaying an error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kellie_Maguire
Posted On:   Friday, May 14, 2004 12:52 PM

I have a form that has drop downs and multi select boxes
The multi select boxes get values moved from one to the other.
When we submit this form, we perform some validations on the server side.
If an error is thrown, the form wipes out the values the user selected in the multi boxes.


Is there a clean way to retain the user entered data in these controls? Text boxes and the like have no problems retaining data.

Thanks!
Kellie

Re: Problem maintaining user entered data when displaying an error

Posted By:   tiger_cool  
Posted On:   Thursday, May 20, 2004 06:20 PM

Maybe you should save them in session, or change the scope of your form to 'session' instead of 'request', or save the selection in formbean class before you refresh the page to display errors.

About | Sitemap | Contact