# Text\_field\_with\_auto\_complete get number of suggests

**URL:** <https://www.ruby-forum.com/t/text-field-with-auto-complete-get-number-of-suggests/126120>\
**Category:** Rails\
**Created:** [January 15, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-get-number-of-suggests/126120 "2008-01-15T16:20:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stratboy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/838e76/32.png) [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Post date:** [January 15, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-get-number-of-suggests/126120/1 "2008-01-15T16:20:06Z")

</div>

I have implement a text\_field\_with\_auto\_complete in my form.

Every times that is there the request to server to gets the suggests i  
want know if the number of these is 0.  
If there arent’s suggests for auto complete i want show a div hidden.  
Is possible?

How can i do?  
Thanks.
