search for: iscorrect

Displaying 3 results from an estimated 3 matches for "iscorrect".

Did you mean: incorrect
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
...n.id.to_s) for answer in answers presentation = Presentations.find_by_id (answer.presentation_id.to_s); -%> <tr> <td><%= answer.id %></td> <td><%= answer.seq %></td> <td><input type="text"><%= answer.iscorrect %></input></td> <td><%= text_field_tag ''answer.points'', answer.points %></td> <td><%= text_field_tag ''presentation.text'', presentation.text % ></td> <td><input name="loadText"...
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
...lt;input type="hidden" name="answerId[]" value="<%= answer.id % >"/></td> <td background="<%= ''/images/cbUnchecked.png'' %>" onClick="checkboxClick(this)"><input type="hidden" name="iscorrect[]" value="off" style="background-repeat: no-repeat"/></td> <td><input type="hidden" size="3" name="answerPoints[]" value="<%= answer.points %>"/></td> <td><input type="text&qu...
2006 Apr 02
2
"Quiz" site
Hi, I am thinking about how to best design a quiz site in RoR. I think it should be fairly easy, but have run into a wall. In the simplest form, the view would grab all of the questions for a particular quiz and display them (e.g. multiple choice, so 4 option buttons per question). However, I can''t figure out how to "mark" the quiz. The form is submitted to the