# Advanced Search Ruby on Rails

**URL:** <https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909>\
**Category:** Rails\
**Created:** [March 5, 2009, 3:58am UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909 "2009-03-05T03:58:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![khim\_sreang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@khim\_sreang](https://www.ruby-forum.com/u/khim_sreang)\
**Post date:** [March 5, 2009, 3:58am UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909/1 "2009-03-05T03:58:09Z")

</div>

Hi all,  
I want to make ruby on rails advance search with check box and redio  
bottom  
but i can’t to do that,please help me to do that by seding code or some  
concept.Pleae find attachment file to see detail of my form search.

---

<div class="post-metadata">

**Author:** ![khim\_sreang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@khim\_sreang](https://www.ruby-forum.com/u/khim_sreang)\
**Post date:** [March 5, 2009, 6:27am UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909/2 "2009-03-05T06:27:13Z")

</div>

Start with a much simpler example, and expand on that.

No one is going to do your work for you.

If you get stuck building a simpler example of your “search”  
functionality, post it with more pointed questions.

---

<div class="post-metadata">

**Author:** ![khim\_sreang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@khim\_sreang](https://www.ruby-forum.com/u/khim_sreang)\
**Post date:** [March 6, 2009, 4:23am UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909/3 "2009-03-06T04:23:14Z")

</div>

> Thank you for ur advice,

```
   My work is that I want to make advanced search by using check box 

```

and  
radio button.all the value in checkboxs i put in search form and i  
compare  
with value in database if it is correct then the result will show in  
table.I  
have field of table ID,PROVINCE,DATE,TIME,STAFFNAME,DOWN,…all the  
check  
box i can tick alots to make search.I think my image is good guide line  
for  
you.

---

<div class="post-metadata">

**Author:** ![khim\_sreang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@khim\_sreang](https://www.ruby-forum.com/u/khim_sreang)\
**Post date:** [March 6, 2009, 5:35am UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909/4 "2009-03-06T05:35:08Z")

</div>

On Fri, Mar 6, 2009 at 10:22 AM, khim sreang [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Thank you for ur advice,
> 
> ```
> My work is that I want to make advanced search by using check box
> 
> ```
> 
> and radio button.all the value in checkboxs i put in search form and i  
> compare with value in database if it is correct then the result will show in  
> table.I have field of table ID,PROVINCE,DATE,TIME,STAFFNAME,DOWN,…all  
> the check box i can tick alots to make search.I think my image is good guide  
> line for you.

this advance search form is the same with my work  
[http://bitnami.org/advanced\_search](http://bitnami.org/advanced_search)

---

<div class="post-metadata">

**Author:** ![khim\_sreang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@khim\_sreang](https://www.ruby-forum.com/u/khim_sreang)\
**Post date:** [March 6, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/advanced-search-ruby-on-rails/196909/5 "2009-03-06T15:02:28Z")

</div>

khim sreang wrote:

> ```
> Thank you for ur advice,
> 
> My work is that I want to make advanced search by using check box 
> 
> ```
> 
> and radio button.all the value in checkboxs i put in search form and i  
> compare with value in database if it is correct then the result will  
> show in table.I have field of table  
> ID,PROVINCE,DATE,TIME,STAFFNAME,DOWN,…all the check box i can  
> tick alots to make search.I think my image is good guide line for you.

This sounds a lot like SearchLogic. Look that up for a good system for  
multiple-field searches out of a cute form.

–  
Phlip
