Tagged: Default member search
Is there any function I can tap into to set a default search upon going to the members page? For example the search page will automatically generate a $_GET request based on specific profile fields and go to /members/?field_6=Teacher&field_8=apple for example, instead of the user having to manually select these fields and then submit the member search form.
I know I can do something similar by adding a custom query to the members loops as designated here:
But this does not change the form fields
Hi Brajesh. Thank you for the reply. If a user will click on a button which brings to the members page (i.e. http://www.yoursite.com/members/), then when the page loads, fields will automatically be populated and a default search will be completed. That way, the url will most likely show like http://www.yoursite.com/members/?field_6=Teacher&field_8=apple for example. Does that make sense?
You must be logged in to reply to this topic.