>
> Hi all now i am doing with advanced search  by using checkboxs and redio
> button for each items
>
      for example :


<% form_for *:tblpss_description_record*, *...@tblpss_description_record*, *
:url*=>{ *:action*=>'view_detail_job_setup' }, *:html*=>{ *:id*=>
'frm_view_setup', *:name*=>'frm_view_setup', *:method* => *:get*}
*do*|f|%>


<input type="checkbox" name="elementprovince" value="ALL" id="optPROVINCE"
onclick="changeBoxesProvince(1)">ALL<br>

<input type="checkbox" name="elementprovince" value="PHNOM PENH" id=
"optPROVINCE">PHNOM PENH<br>

<input type="checkbox" name="elementprovince" value="BANTEAY MEANCHEY" id=
"optPROVINCE">BANTEAY MEANCHEY<br>

<input type="checkbox" name="elementprovince" value="BATTAMBANG" id=
"optPROVINCE">BATTAMBANG<br>

<input type="checkbox" name="elementprovince" value="KAMPONG CHAM" id=
"optPROVINCE">KAMPONG CHAM<br>

<input type="checkbox" name="elementprovince" value="KAMPONG CHHNANG" id=
"optPROVINCE">KAMPONG CHHNANG<br>

<input type="checkbox" name="elementprovince" value="KAMPONG SPEU" id=
"optPROVINCE">KAMPONG SPEU<br>

<input type="checkbox" name="elementprovince" value="KAMPONG THOM" id=
"optPROVINCE">KAMPONG THOM<br>

<input type="checkbox" name="elementprovince" value="KAMPOT" id=
"optPROVINCE">KAMPOT<br>

<input type="checkbox" name="elementprovince" value="KANDAL" id=
"optPROVINCE">KANDAL<br>

<input type="checkbox" name="elementprovince" value="KEP VILLE" id=
"optPROVINCE">KEP VILLE<br>

<input type="checkbox" name="elementprovince" value="KOH KONG" id=
"optPROVINCE">KOH KONG<br>

<input type="checkbox" name="elementprovince" value="KRATIE" id=
"optPROVINCE">KRATIE<br>

<input type="checkbox" name="elementprovince" value="MONDOL KIRI" id=
"optPROVINCE">MONDOL KIRI<br>

<input type="checkbox" name="elementprovince" value="ODORMEANCHEY" id=
"optPROVINCE">ODORMEANCHEY<br>

<input type="checkbox" name="elementprovince" value="PAILIN" id=
"optPROVINCE">PAILIN<br>

<input type="checkbox" name="elementprovince" value="PREAH VIHEAR" id=
"optPROVINCE">PREAH VIHEAR<br>

<input type="checkbox" name="elementprovince" value="PREY VENG" id=
"optPROVINCE">PREY VENG<br>

<input type="checkbox" name="elementprovince" value="PURSAT" id=
"optPROVINCE">PURSAT<br>

<input type="checkbox" name="elementprovince" value="RATTANAKIRI" id=
"optPROVINCE">RATTANAKIRI<br>

<input type="checkbox" name="elementprovince" value="SIEM REAP" id=
"optPROVINCE">SIEM REAP<br>

<input type="checkbox" name="elementprovince" value="SIHANOUK VILLE" id=
"optPROVINCE">SIHANOUK VILLE<br>

<input type="checkbox" name="elementprovince" value="STUNG TRENG" id=
"optPROVINCE">STUNG TRENG<br>

<input type="checkbox" name="elementprovince" value="SVAY RIENG" id=
"optPROVINCE">SVAY RIENG<br>

<input type="checkbox" name="elementprovince" value="TAKEO" id="optPROVINCE"
>TAKEO<br>
<% *end* %>


 In this case i can search by each item or all item in form. I hope that all
member in rubyonrails-talk will help me to solve this problem for me.

    thank in advance!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to