Reset button
538297Oct 11 2006 — edited Oct 12 2006Hello,
I have a problem with the Reset button.
I have 2 regions: the first one is HTML region, with fields where the user enters the report parameters. The second region is Report region, where are shown the results answering to the entered report parameters in the first region.
I have a Reset and Go buttons. My idea is on Reset to show all data sets.
When i enter some values in the firs region and press Go, everything works ok. When i press Reset (to clear the query fields), it clears all query fields but it gives me that there is no data found. And if i Press Go, it displays all the data.
My Reset button is with redirect, and i clear the cache to the page itself. All the Items have default values(-1). And in the source for the region, i have cases when the values of the fields is default(-1) and when it is NULL, and it still doesnt work right.
Any suggestions?
Tsveti