# RAdio button onclick

**URL:** <https://www.ruby-forum.com/t/radio-button-onclick/140370>\
**Category:** Deployment\
**Created:** [June 13, 2008, 11:25am UTC](https://www.ruby-forum.com/t/radio-button-onclick/140370 "2008-06-13T11:25:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soutom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/65b543/32.png) [@soutom](https://www.ruby-forum.com/u/soutom)\
**Post date:** [June 13, 2008, 11:25am UTC](https://www.ruby-forum.com/t/radio-button-onclick/140370/1 "2008-06-13T11:25:30Z")

</div>

i am trying to do some thing with radio button.

my main tergate is that i have 2 radio button and 2 text field.  
when i click on a radio button1, then the corrosponding text field say  
text1 will b active, and another text field say text2 will b inactive.

and again when if we click on the other radio button2 then the  
corrosponding text field say text2 will be active and text1 will b  
inactive…

NOTE : Basically i am very new in Ruby On Rails…so i cant do this.  
if anyone kindly hepl me i will be very much thankful to him/her

---

<div class="post-metadata">

**Author:** ![soutom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/65b543/32.png) [@soutom](https://www.ruby-forum.com/u/soutom)\
**Post date:** [June 13, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/radio-button-onclick/140370/2 "2008-06-13T13:06:43Z")

</div>

Soutom Soutom wrote:

> i am trying to do some thing with radio button.

You’ll want to ask this question on rubyonrails-talk. This is the  
deployment mailing list about, well, deploying Rails application, not  
developing them.

–  
Roderick van Domburg

> **[De domeinnaam Nedforce.nl is te koop.](http://www.nedforce.nl)**
>
> Deze mooie domeinnaam kan al over een paar minuten van jou zijn. Betalen gaat eenvoudig en vertrouwd via iDEAL. Direct na de betaling ontvang je de verhuiscode per e-mail en kun je aan de slag.
