search for: process_answ

Displaying 1 result from an estimated 1 matches for "process_answ".

Did you mean: process_answer
2006 Jun 21
5
newbie - question on radio_buttons
...able to process the button selected in a controller - not sure how to do this. The form does not map directly to a model - all I want to do is be able to pass back the selected button and know which one it is. So, i have a form and several radio buttons - the submit (not shown) takes me to the process_answer action where I want to determine which button was pressed <%= start_form_tag(:action => "process_answer") %> .... <%= radio_button "radio", "answer", "a" %> (A) inside the process_answer, I have the following: def process_answer if par...