I am using Toolset Legacy Views and creating a View my clients will use for networking and finding each other.
There is a field on each client that I do not want the clients to see. Let's call it "Good Client" (and say it's a checkbox).
When the client uses the View to search, I would like to only return clients that have "Good Client" checked, in addition to the filters the searcher already used.
Is there a way to add that condition (Good Client == "Checked") to the search, but not in a way that the client can see?
Bonus points if it can happen on the server-side so nobody could see that filter was being applied, even if they looked.
Thank you.
Hi there,
I will need to see the real scenario to be able to help but from what I understand, please go to WordPress Dashboard > Toolset > Custom Fields.
Enter the field group that you have the checkbox, expand the option and yu should see an option to make the checkbox checked by default. (Set checked by default (on new post)?)
But I am not sure if it will work on the filter.
If it does not, then please turn off the Ajax filter option and go to the front end of the website and select the checkbox in question.
If you check the URL of the website you will see that there is a query string added at the end of that URL.
That is actually the URL that yu can use to force the checkbox to be checked.
Then you can use CSS code to hide the Checkbox.
I know it is not a server side solution but something that you can implement in the front end.
Thanks.