# Sending radio button value through auto\_complete

**URL:** <https://www.ruby-forum.com/t/sending-radio-button-value-through-auto-complete/87795>\
**Category:** Rails\
**Created:** [March 6, 2007, 1:27am UTC](https://www.ruby-forum.com/t/sending-radio-button-value-through-auto-complete/87795 "2007-03-06T01:27:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/49beb7/32.png) [@jney](https://www.ruby-forum.com/u/jney)\
**Post date:** [March 6, 2007, 1:27am UTC](https://www.ruby-forum.com/t/sending-radio-button-value-through-auto-complete/87795/1 "2007-03-06T01:27:22Z")

</div>

I’ve got an autocomplete field  
text\_field\_with\_auto\_complete(:query, :text, {}, :skip\_style =\>  
true, :tokens =\> “,”)  
and some radio buttons in the same form :  
radio\_button\_tag(:domain, “product”, :checked =\> true)  
radio\_button\_tag(:domain, “user”)

but in my controller function “auto\_complete\_for\_query\_text” i don’t  
know how to take radio buttons values.  
someone can help me?

Regards.
