rc3.org Strong opinions weakly held

Determining whether to hide a report filter

Let’s say you have a report that has some filter controls on top that let you narrow the scope of the report. When the report loads, the filter is collapsed. The user opens the filter, changes some of the settings, and submits the form. What is the preferred method for determining whether the filter should be displayed? A related question is whether you should detect the filter’s visibility status in JavaScript or you should check on the server side and use the style attribute to control visibility.

Here are some options:

There are probably other options as well, and all of them will work. Choosing from among them is a matter of ease of maintenance, mostly. Ideas?


1 Comment

I assume there is always some option that sits at the top of the page that the user clicks to open the filter. I would just change the style of that element to indicate that options other than the default. It would draw the user’s attention to the fact that something is not standard, but wouldn’t clutter the report with the entire filter for those user’s who knew that already.

Posted by Travis on 20 June 2009 @ 3pm

Leave a Comment