User List: Dropdown selection for “search for” value for certain field types

This article describes a custom code snippet that will change the search form for the User List.  It flips the field order (to “Search by” first and “Search for” second).  The second thing it does is apply some jQuery to change the input type for “Search for”.

If the “Search by” field represents a checkbox, multiple checkbox, select, multiple select, or radio field as its WP-Members field type, then the “Search for” is changed to a dropdown selection of the possible values of that field. 

This article is only available to WP-Members Support Subscribers. If you have an existing subscription, please login below. If you do not have a current support subscription, you can purchase a support subscription here.

Existing Users Log In
   
New User Registration
*Required field