I am using the filter tag to filter my forms. I saw the subform example to filter results but I was thinking, wouldnt it be cool if you could filter on more than one field in a table without using sub forms.
Yes, very cool and useful as well.
By this I mean when I select a value from the drop down box and the form reloads with a values box and the set unset buttons, also put the original filter field in the line directly below allowing the user to filter by another condition. Let me know what you think of this idea.
So then you would have to stop at some point though right. You would have to stop at the number of filterConditions you have wouldn't you.
It wouldn't be possible to filter by the same condition twice would it? For instance, when you redisplay the orginial filter field again to allow for an additional filter, would all of them re-display (including the one you are already using to filter by)?
in other words, if you have two filterConditions (name like and city is) and you are filtering by name like, then would both the name like and city is filters be available as choices underneath? If you are filtering by both --name like and city is-- would there be another original filter field below. I think the answer should be no to both these questions, but it would be useable and benifical anyway. Just a little more confusing for the user though. Used filters should dissappear from the next filter field I would think.
Can you do it?
-- Shawn
Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
