Filter searching multiple fields
-
Hi,
I need to have a filter in my Member Directory that searches through more than one field. I’m developing an Alumni site for a School where many former students have taken more than one course in different times (for example: student 1 has taken course Y in 2004 and course Z in 2010; student 2 has taken course K in 2007, course W in 2009 and course H in 2012; student 3 has taken course Q in 2005; and so on). In my registration form, I have two fields for each year/course pair, in a total of 8 fields (I’m assuming that students didn’t took more than 4 courses). How can I display my alumni directory filtered by year and course with only one field for the year (that searches through all my 4 year fields) and only one field for the course (that searches through all my 4 courses fields)?
I tried using the multiselect field in the registration form for both year and course, but was unable to correctly display them in the frontend (the answers are automatically alphabetically ordered and grouped, and I need to have them shown one per line, matching year with course (year – course; year – course; year – course; etc).
I also found this topic https://www.ads-software.com/support/topic/single-member-filter-text-box-but-multiple-fields/ but it’s more than a year old and apparently not solved.
I find Ultimate Member to be a GREAT plugin and would very much like to use it in my site, so any help or directions on how to accomplish this would be appreciated.
- The topic ‘Filter searching multiple fields’ is closed to new replies.