# Search form directly to results

**URL:** <https://www.ruby-forum.com/t/search-form-directly-to-results/173730>\
**Category:** Rails\
**Created:** [August 13, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/search-form-directly-to-results/173730 "2009-08-13T22:55:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgnm2000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3da27b/32.png) [@bgnm2000](https://www.ruby-forum.com/u/bgnm2000)\
**Post date:** [August 13, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/search-form-directly-to-results/173730/1 "2009-08-13T22:55:46Z")

</div>

Hi Guys,

I’m really new to rails, so I apologize if this is a dumb question.

I’m using the autocomplete plugin to search record titles. When a user  
selects the appropriate title, and clicks “go” I’d like them to be  
brought right to that title. If they enter a title which currently  
doesn’t have a record, I’d like them to be forwarded to a page to added  
the record.

whats the best way to go about doing this?

Thanks!  
Elliot
