Answers.Body: <p>This should get you headed in the right direction: <a href="https://www.webstoemp.com/blog/combined-searches-and-filters-craft-cms/" rel="nofollow noreferrer">https://www.webstoemp.com/blog/combined-searches-and-filters-craft-cms/</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T01:39:23.620Z
Answers.Text: Would you mind expanding on **why** you recommend that solution? Or at least quote some of the relevant parts of that page? "Link only" answers are frowned upon, because links can break or change over time (rendering your answer useless).
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-11T23:49:25.840Z
Answers.LastActivityDate: 2017-01-11T23:49:25.840Z
Answers.UserDisplayName: user5920
Answers.Body: <p>I would probably create some categories for make,  color and transmission and relate every entry to it. Then you have the ability to use <code>craft.entries...</code> to fetch the entries as you need them. You can find all specs of the <code>entries</code> method in Craft's <a href="https://craftcms.com/docs/templating/craft.entries#relatedTo" rel="nofollow noreferrer">docs</a> -  just fetch all entries that are related to the category you want. </p>
  
  <p>Depending on the total number of entries you could just fetch (and cache) all entries every time and use a javascript filter mechanism. I worked with <a href="http://isotope.metafizzy.co/" rel="nofollow noreferrer" title="isotope">isotope</a> before.</p>
  
  <p>Using js you can achieve a smoother UX once all entries are loaded. However, best practice would be to start coding without js and make it work and then enhance the experience with js. Depends on your budget.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-26T22:09:13.987Z
Answers.LastActivityDate: 2016-12-26T22:15:12.763Z
Answers.LastEditDate: 2016-12-26T22:15:12.763Z
Answers.UserDisplayName: Johannes
Body: <p>Looked at countless examples here but all seem to be more than I need.</p>
  
  <p>I need the form to have three drop-downs</p>
  
  <p><strong>Make</strong><br>
  -Ford<br>
  -Chevy<br></p>
  
  <p><strong>Color</strong><br>
  -Red<br>
  -Blue</p>
  
  <p><strong>Transmission</strong><br>
  -Auto<br>
  -Shift</p>
  
  <p>And the search results field would look at the section called 'cars' and return any car with the exact match. One additional point is that 'Transmission' is a category.</p>
  
  <p>Thanks.</p>
  
Tags: <search><drop-down>
Title: Simple Search form with a few drop-down choices
ThreadText: # Simple Search form with a few drop-down choices
  
  (Asked by: username_0 on 2016-12-26)
  
  Looked at countless examples here but all seem to be more than I need.
  
  I need the form to have three drop-downs
  
  **Make**  
  -Ford  
  -Chevy
  
  **Color**  
  -Red  
  -Blue
  
  **Transmission**  
  -Auto  
  -Shift
  
  And the search results field would look at the section called 'cars' and return any car with the exact match. One additional point is that 'Transmission' is a category.
  
  Thanks.
  
  **Tags:** search, drop-down
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-01-11. Score: 1
  
  This should get you headed in the right direction: <https://www.webstoemp.com/blog/combined-searches-and-filters-craft-cms/>
  
  > **Comments:**
  > **username_2**: Would you mind expanding on **why** you recommend that solution? Or at least quote some of the relevant parts of that page? "Link only" answers are frowned upon, because links can break or change over time (rendering your answer useless).  
  
  ---
  
  ### Answer by username_3 on 2016-12-26. Score: 1
  
  I would probably create some categories for make, color and transmission and relate every entry to it. Then you have the ability to use `craft.entries...` to fetch the entries as you need them. You can find all specs of the `entries` method in Craft's [docs](https://craftcms.com/docs/templating/craft.entries#relatedTo) - just fetch all entries that are related to the category you want.
  
  Depending on the total number of entries you could just fetch (and cache) all entries every time and use a javascript filter mechanism. I worked with [isotope](http://isotope.metafizzy.co/ "isotope") before.
  
  Using js you can achieve a smoother UX once all entries are loaded. However, best practice would be to start coding without js and make it work and then enhance the experience with js. Depends on your budget.
  
  
  ---
  
  