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.

Multiple Select Search Problems

November 10, 2010 11:01am

Subscribe [1]
  • #1 / Nov 10, 2010 11:01am

    Nick Hamze

    14 posts

    I could really use some help.

    I have a client site I am working on http://www.sdmlsurvey.com and I need a way to use multi-select to let my users search by multiple cities or positions.  Here is what I have for the results page, but it will not search multiple cities, it will only search the last city selected. I am using Matrix Custom Fields.

    <table id="results">
    <tr>
        <td class = "results1">Municipality</td>
         <td class = "results1">Position</ td>
         <td class = "results1">Number</td>
        <td class = "results1">Monthly</td>
         <td class = "results1">Bi-Monthly</td>
         <td class = "results1">Bi-Weekly</td>
         <td class = "results1">Annual</td>
         <td class = "results1">Per Reg. Meeting</td>
         <td class = "results1">Per Spec. Meeting</td>
    </tr>
                                                                   
    {exp:channel:entries  dynamic_parameters="channel" orderby="title"| sort="asc"| limit="500"}                                                              
    {elected dynamic_parameters="search:municipality|search:position|"}
    <tr> <td class = "results">{municipality}</td>
     <td class = "results">{position}</td>
     <td class = "results">{number}</td>
     <td class = "results">${month}</td>
     <td class = "results">${monthly}</td>
     <td class = "results">${weekly}</td>
     <td class = "results">${annual}</td>
     <td class = "results">${reg}</td>
     <td class = "results">${spec}</td>
    {/elected}
    
    {/exp:channel:entries}

    Any Ideas?

    Thanks

  • #2 / Nov 10, 2010 7:35pm

    Nick Hamze

    14 posts

    Anybody Help?

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

ExpressionEngine News!

#eecms, #events, #releases