Title: Write Filtering with Multiselect and Link fields
Last modified: November 29, 2016

---

# Write Filtering with Multiselect and Link fields

 *  Resolved [fania12](https://wordpress.org/support/users/fania12/)
 * (@fania12)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/write-filtering-with-multiselect-and-link-fields/)
 * Hi…
 * Can you explain more detail how to write Filtering with Multiselect properly 
   on my specific page ?
 * > “When using filters with fields that store their values as arrays, you must
   > use the ~ operator because the values are stored with other information (technically,
   > the array is serialized). A = will never work because of that additional information.”
 * I need have a multiselect field in a form. I want to display list data only by
   each category from multiselect selection. So i can show the list on my specific
   page by matching for each multiselection.
 * Sorry for my english. I hope you can understand what i mean.
 * Thank you.
    -  This topic was modified 9 years, 5 months ago by [fania12](https://wordpress.org/support/users/fania12/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/write-filtering-with-multiselect-and-link-fields/#post-8495011)
 * OK, for instance, if the name of your multiselect is ‘category’, and you only
   want to show records in the ‘red’ category, you need to use a filter like this:
 * `[pdb_list filter="category~red"]`
 *  Thread Starter [fania12](https://wordpress.org/support/users/fania12/)
 * (@fania12)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/write-filtering-with-multiselect-and-link-fields/#post-8497606)
 * Ok… Thank you so much. U really help. Got my category list now.. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Write Filtering with Multiselect and Link fields’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [filtering](https://wordpress.org/support/topic-tag/filtering/)
 * [multiselect](https://wordpress.org/support/topic-tag/multiselect/)

 * 2 replies
 * 2 participants
 * Last reply from: [fania12](https://wordpress.org/support/users/fania12/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/write-filtering-with-multiselect-and-link-fields/#post-8497606)
 * Status: resolved