views:

26

answers:

0

I have model Stub in y project, and in a formtastic form I would like to make such behaviour.

Given I have two radio buttons First radio means I send some default data in 'my_field' in Stub model Second radio is to enable user a text field that he will use to send his own data to 'my_field' in Stub model

Any ideas that will not mess to much with radio_button_tag helper and not messing controllers?