• Resolved fania12

    (@fania12)


    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.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    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

    (@fania12)

    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.