style attribute to control visibility.
Here are some options:
- Always leave the filter collapsed initially. I hate this option, though, because it hides important information from the user. If the report is in some non-default state, the user should be able see when it loads what that state is.
- Check to see whether any form parameters were submitted. If there were, add the appropriate
styleattribute to the form on the server side.
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?
June 20, 2009 at 3:38 pm
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.