Skip Navigation

[Closed] Hidden Filter Field/Value in Legacy View

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 7 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2678162

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.

#2678271

Christopher Amirian
Supporter

Languages: English (English )

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.

The topic ‘[Closed] Hidden Filter Field/Value in Legacy View’ is closed to new replies.