How can I use checkboxes to search instead of the select dropdown?
-
Hi. Great plugin.
I need to use something other than the filter select dropdowns for searching my users metadata. I have about 40 fields that I’d like to be searchable and I prefer to have the fields and labels displayed as checkboxes. I can arrange them in columns using CSS easily.
I don’t think this is part of the plugin so I have found a way to add elements, HTML, etc on the member_details page by editing the amr_users.php file before the code…
else return('<p><strong>' .__('Not logged in or no permission for non public user list','amr-users') .'</strong></p>'); // return('<!-- '.__('Inadequate permission for non public user list','amr-users').' -->'); }
There’s probably a better way to do this but for the life of me, I can’t figure out how to create a search by showing checkboxes INSTEAD of the default select option.
I tried this code and it doesn’t seem to work for me… Any ideas?
<input type="checkbox" id="filter_demofield" name="demofield" value="1">
I also wasn’t sure about how to code the filter or search button for this…
- The topic ‘How can I use checkboxes to search instead of the select dropdown?’ is closed to new replies.