Hey All
Have been searching around and cant find an awnser to this, so apologises if ive missed something basic.
Am useing views to enable users to search other users profiles, so far they can search the basics like name, country and sex and correct age, but I want to be more vauge and let them search age ranges. For instance I want them to be able to search for people between the ages of 21-30 or 31-40. I could make it site defined so that there where default groups, but I want the searching person to be able to input their own age range, so maybe one person would like 21-30 but the next person may want 22-30 so they need to be able to change the age range in an exposed view.
So is there any way of creating a fluid set of results in views (or maybe in some other module ive missed?)
Any help would be really appriciated. Thanks very much
Comments
similar functionality needed...
querying cck nodes: how to check if the value of a numeric field is within a user defined range?
how are you generating age?
are you using a date field? Or do users enter age like 24?
well i managed to get it
well i managed to get it working with a work around rather than use of a module.
see here for more details, hope this helps
http://drupal.org/node/182157
I know you can do that views
I know you can do that views 2 and cck "decimal". Choose "exposed" and "between values".