Preserving form values

Results 1 to 2 of 2

Thread: Preserving form values

  1. #1
    Join Date
    Dec 1969

    Default Preserving form values

    I have a form with combo boxes which are dynamically populated from a database. Is it possible to somehow preserve the selected values of these fields so that if the page errors on submit, the user can click the back button and the fields will still contain the user&#039;s selections?<BR><BR>Currently, if the update to the database occurring on submit fails, the selected values are lost when the user goes back. Interestingly enough, the text boxes on this form that the user fills in retain their values, just not the combo boxes.

  2. #2
    Freak Guest

    Default RE: Preserving form values

    ther is no way to preserve a value i believe, wht i would suggest is once the user hits the cubmitt button submitt the contents to a intermediate page and track the database issues, if the transaction fails redirect the user to an another page or the same page with the values that he had alreadyu submitted, when the user hits the back button on the browser the browser picks up the page as how it cached intially u cannot over come it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts