# Auto\_complete\_field problem

**URL:** <https://www.ruby-forum.com/t/auto-complete-field-problem/108096>\
**Category:** Rails\
**Created:** [June 29, 2007, 12:47am UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096 "2007-06-29T00:47:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [June 29, 2007, 12:47am UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096/1 "2007-06-29T00:47:01Z")

</div>

Will anyone tell me why the following code is not calling  
into :Controller=\> portal :action=\> venue\_site\_live\_search when I  
typed any characters into the text field?

I apprecated …

\<%= javascript\_include\_tag “prototype” ,“effects” %\>

\<%= stylesheet\_link\_tag ‘autocomplete’ %\>

\<%= error\_messages\_for :team -%\>

\<%= form\_tag(:controller =\> “portal”, :action =\>  
“fire\_portal\_selection” ) -%\>

```
<table>

    <tr>

        <td style="text-align:center;">
            <img width=250 height=99 src="/images/

```

logo\_google\_suggest.gif"/\>

```
    </tr>

    <tr>
        <td>
            <center>
                <table>
                    <tr style="text-align:center; vertical-

```

align:middle;height: 50px;"\>

```
                        <td style="width: 80px;">

                            <%= text_field "portal",

```

“searchtext”, :size =\> 40 -%\>

```
                            <img id="ajax-loader" src="/images/

```

ajax-loader.gif" style=“display:none;”/\>

```
                            <%=

```

auto\_complete\_field :portal\_searchtext,  
:url =\>{ :controller =\> “portal”,  
:action=\>“venue\_site\_live\_search”},  
:frequency =\> 0.2,  
:indicator =\>“ajax-loader”,  
:token =\>"," -%\>

```
                        </td>

                    </tr>
                </table>
            </center>
        </td>
    </tr>

    <tr>
        <td>
            <div class="auto_complete"

```

id=“portal\_searchtext\_auto\_complete”\>

```
            </div>

        </td>
    </tr>

    <tr/>
    <tr/>
    <tr/>

    <tr>
        <td style="text-align:center;">
            <%= submit_tag(:Welcome) -%>
        </td>

    </tr>

</table>

<% end_form_tag -%>

```

---

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [June 29, 2007, 7:30am UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096/2 "2007-06-29T07:30:32Z")

</div>

Can someone help me on this issue please… highly appreciated…

---

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [June 29, 2007, 10:23am UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096/3 "2007-06-29T10:23:51Z")

</div>

BUMP

---

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [June 29, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096/4 "2007-06-29T19:07:54Z")

</div>

BUMP

---

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [June 29, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/auto-complete-field-problem/108096/5 "2007-06-29T20:56:06Z")

</div>

Will someone please help me?

Thanks
