Aldric Giacomoni wrote: > Rails List wrote: >> i am developing a search form where the user need to select the field to >> be searched from a drop down. >> >> could some one provide me pointers?. > > Look at 'collection_select' and update a div with a partial, as needed? > Maybe not the best idea...
hey thanks. exactly thats what i am trying now...like this <%= options_for_select([["Title","title"],["Description","description"],["Ad Type","adtype"],["Email","email"],["Location","location"]]) %> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

