Return to form with history.back() and keep input data

I have a quite complex web search form where I want to keep the entered or selected search criteria when the user returns to it from the search result using a back link (history.back()) or the back function of the browser.

This already worked when I just opened another URL (in the $$Return-field) with “…?SearchView&Query=…” after submitting the search form.

However I had to change the URL after submitting because we wanted to have a fixed header with column titles, … and the scrollable result list.

The idea was to write an agent that prints a frameset with the header and the search result. This agents is executed after submitting the search form.

Now everything works fine except the fact that the input data in the search form are now lost after returning to it.

Now my question is:

Why does the form now looses the input data ? Because of the agent executed or the frameset built after submitting ? I couldn’t find an answer to this so far.

And whatever reason it is - is there a simple solution which makes it possible to keep the input data ?

Thanks in advance for any hint !

mhf

Subject: Return to form with history.back() and keep input data

How many fields are you talking about?You could parameterise them in the URL and then set the defalt values to extract from the Query_String the values for each field