On 2 March 2013 16:20, NN Dodhia <[email protected]> wrote: > Hi i'm fairly new to ruby on rails and i'm creating a form using simple_form > and in one bit i have radio buttons and say i have 3 buttons a,b,c so i want > it to be if a is pressed then certain text fields show, and if b is pressed > a different set of text fields show and similarly for c. Can anyone help me > on this?
You will probably want to use javascript for this, quite possibly jQuery. Have a look for some tutorials. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

