Is it possible to searching (filtering) a number range in CGUserDirectory in frontend in an user friendly way?
I doubt the casual user is able to use Regular Expression to search a number range, so i would like to make some kind of GUI for the search page in frontend, so the user just have to insert the number range they want to search/filter for.
Searching a number range in CGUserDirectory
Re: Searching a number range in CGUserDirectory
Not that familiar with CGUD but could you create min & max fields (or perhaps a slider if you're fancy) for the visitor, a hidden field with the regex, then modify the regex with javascript based on the visitor's input?
Not getting the answer you need? CMSMS support options
Re: Searching a number range in CGUserDirectory
I think your on to something!
A Min. and Max. field and a regex generator handling the input (Age range). I've just got to figure out to how to handle the age range input when i only have a birthday/year field for each user.
Maybe a dropdown for the Min. and Max. field with age ranges (0-100) and the selected value a calculated year based on current year. Or something like that
A Min. and Max. field and a regex generator handling the input (Age range). I've just got to figure out to how to handle the age range input when i only have a birthday/year field for each user.
Maybe a dropdown for the Min. and Max. field with age ranges (0-100) and the selected value a calculated year based on current year. Or something like that