ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Exact Search with Dynamic Parameters

April 18, 2012 10:27am

Subscribe [1]
  • #1 / Apr 18, 2012 10:27am

    melissajc

    88 posts

    Is it possible to do an “Exact” search with dynamic parameters.  Something like this, but of course this doesn’t work.

    POST DATA:
    <form method="post">
    <select name="search:purchased_id">
    <option value="">Select Product</option>
    {exp:channel:entries channel="products" }
    <option value="={entry_id}">{title}</option>
    {/exp:channel:entries}
    </select> 
    </form>
    
    
    TO:
    {exp:channel:entries 
    channel="purchased_items" 
    dynamic_parameters="search:purchased_id"
    }
    {title}
    {/exp:channel:entries}

    Thanks!

  • #2 / Apr 18, 2012 10:42am

    melissajc

    88 posts

    apparently that does work.  It’s Monday, right?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases