Is it possible to route/call a different action depending on a value of
the params hash?
I have a form with a pair of radio buttons. I would like to call a
different action depending on which radio button is selected. Is it
possible?
Is it possible to route/call a different action depending on a value of
the params hash?
I have a form with a pair of radio buttons. I would like to call a
different action depending on which radio button is selected. Is it
possible?
Hi Juan K.
With javascript you can set the action at runtime
Sijo
Sijo k g wrote:
Hi Juan K.
With javascript you can set the action at runtime
Of course, that won’t work if the client has turned JS off.
Sijo
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs