Support » Plugin: Participants Database » How to make?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vipplayer

    (@vipplayer)

    [pdb_list filter="enterprise!,e_mail=' . $current_user->user_email .'"
    The filter ignores two values. Only one value is taken into account, as you can see then ‘ enterprise!”forces to ignore “e_mail” which displays only records of the user on the mail filter – ” e_mail “I need to filter personal records, and” enterprise!”to filter empty fields

    Plugin Author xnau webdesign

    (@xnau)

    The syntax you’re using is not right, you need to use an ampersand to separate your individual filters, like this:

    [pdb_list filter="enterprise!&e_mail=' . $current_user->user_email .'"

    Check the docs for the full explanation: List Shortcode Filters

    My question is slightly off target but after looking at the List Shortcode Filters just now, I often need to filter to see what records are missing values, such as blank phone number, not exclude them. Can you give examples for that in the List please?

    Plugin Author xnau webdesign

    (@xnau)

    You can filter for an empty or missing value with something like this…for instance, all records with no “photo” uploaded:

    [pdb_list filter=”photo=”]

    The way that works is each filter statement has the field name, then the operator, then the value…in that case, the field is “photo”, the operator is “=” but the value is left blank, indicating that you want to see all field with a blank photo field.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make?’ is closed to new replies.