Forums › Forums › Search & Filter Pro › Test Score Filtering
Tagged: acf
- This topic has 8 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) October 1, 2019 at 2:05 pm #222518
Looking for some creative help.
I am creating an Advanced Custom Field equal to the minimum score someone would need to make to be eligible for a job in the Air Force. Example, someone would need to make a 55 in the “General” category to be eligible for a specific job.
My ACF is a ” number” named “ASVAB General.” I set it to 55 on the back end. When I use S&F I can’t figure out a way to have it retrieve the post if someone enters a number higher than 55. The “Range-Number” field will retrieve it if the number entered is 55 and below.
Any creative ideas on how to accomplish this?
Thanks! – Josh
Trevor(Private) October 1, 2019 at 3:22 pm #222530I think I understand. Make it a range field with the From and To set to the same custom field. Use Custom CSS to hide the From field, so the form user can see only the To box. Set the default for the From box to 0.
Now, the user enters only one number (their score) and then form will actually search from 0 to that number?
Is that what you wanted?
Anonymous(Private) October 4, 2019 at 1:16 pm #222877Trevor, wanted to give you a quick update. I think I found a work around based on your initial idea of putting all the scores as an option in the ACF, which was easy enough with excel. What made it work was that I selected “Select multiple values?”. Now when I go to the individual job pages, I just select the minimum score, hold shift and scroll to “100”…selecting the minimum score all the way to 100. Because if someone scores higher, they qualify.
On the S&F I just made it a choice – drop down, which now has 0-100 as the options. They select their score and badda bing, badda boom. It works.
I did separate the test score ACFs and the “other” fields in the S&F because I wanted the test scores to be “OR” relational and the others to be “AND” relational.
Thanks again for your help Trevor! Going to make this reply/solution public so others can search and learn.
-
AuthorPosts