All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

How to get if value in playaField

Visual 30 Apr 2013 09:58 question, complete

Hi
Is it possible to use the {IF value IN field} function for playa fields?

I've tried the following but it isn't working



{if '{entry_id}' IN ({low_search_search:child:myPlayaField})} CHECKED {/if}
{if '{title}' IN ({low_search_search:child:myPlayaField})} CHECKED {/if}
{if '{entry_id}' IN ({low_search_search:child:myPlayaField[]})} CHECKED {/if}
{if '{title}' IN ({low_search_search:child:myPlayaField[]})} CHECKED {/if}


Thanks :)

Replies

  1. Low 30 Apr 2013 10:01

    Yes, it should be possible. Try this:

    {if entry_id IN ({low_search_child:myPlayaField})}