hi i m new to rails and i m facinga problem with radio buttons. i need to create a portal with multiple choice question. i m using html here. once i submit the answer the page is getting refreshed and the selected radio button is also refreshed. and is show a page with no radio button selected.
<form> <br> <input type="radio" name="radios1" onclick="this.parentNode.submit();" value="<%[email protected]%>"><%[email protected] %><br> <input type="radio" name="radios1" onclick="this.parentNode.submit();" value="<%[email protected]%>"><%[email protected]%> <br> <input type="radio" name="radios1" onclick="this.parentNode.submit();" value="<%[email protected]%>"><%[email protected]%> <br> <input type="radio" name="radios1" onclick="this.parentNode.submit();" value="<%[email protected]%>"><%[email protected]%> <br> <br> <br> <br> <input type="submit"> </form> please do give me a solution for this -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

