Participants Database
Modify search capability (4 posts)

  1. jacksun
    Posted 4 years ago #

    Can we expand the search so we can use multiple variables to search by, say first and last names?
    When you have 200 records with the same last name, being able to refilter those by first name before presenting them saves paging through 10 or 20 pages of records for my front end web users.



  2. xnau webdesign
    Plugin Author

    Posted 4 years ago #


    Yeah, this would be good, and I hadn't anticipated the need for multiple search fields. I do plan to include this functionality in the future, but for now, I'm sorry to say it's not possible.

  3. herbisaacs
    Posted 3 years ago #

    The multiple search fields capability is critical to my use of the database. Has it been implemented in the 10 months since the last post?

  4. xnau webdesign
    Plugin Author

    Posted 3 years ago #

    The next major release is still in process, and won't be released for at least two months. However, you can "roll your own" search if you're comfortable building it yourself by building your search terms into the shortcode using the WordPress function "do_shortcode" to build a filter string into the shortrcode....something like:

    <?php echo do_shortcode('[pdb_list filter="last_name='.$_GET['last_name'].'&first_name='.$_GET['first_name'].'"]') ?>

    It's not easy, but it can be done.

    The next update won't actually include a multiple field search, it just makes it a lot easier to do and offer more flexibility in the implementation. It will still be a "roll you own" type situation, but I do plan to offer a plugin that will add this functionality to the main plugin. Again, some months off as it is a major overhaul of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Participants Database
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic