[co2015tickets] Re: [co2015] #34: Construction of UC10: Take Exam

  • From: "co2015" <trac@xxxxxxxxxxxxxxx>
  • To: undisclosed-recipients:;
  • Date: Wed, 08 Apr 2009 12:11:56 -0000

#34: Construction of UC10: Take Exam
---------------------------+------------------------------------------------
    Reporter:  david       |        Owner:  david               
        Type:  task        |       Status:  new                 
    Priority:  medium      |    Milestone:  Construction Phase 2
   Component:  Project     |   Resolution:                      
    Keywords:              |       Blocks:                      
Dependencies:              |   Due_assign:  2009/03/25          
   Due_close:  2009/04/17  |     Complete:  30                  
---------------------------+------------------------------------------------

Comment(by david):

 Replying to [comment:10 chris]:
 > I've just realised why I'm getting an error.
 >
 > I didn't realise you had to individually save each answer, so when I
 clicked submit/commit there was nothing to save, and that caused the error
 when trying to display the answers.
 >
 > Is it possible to change it so you select your answers and the submit
 button saves all the answers in one go, instead of having to submit each
 answer separately.
 >
 > If it's done like that because of having different groups of radio
 buttons on the same form,  you can use the name attribute to group radio
 buttons:
 >
 > "The name setting tells which group of radio buttons the field belongs
 to. When you select one button, all other buttons in the same group are
 unselected.
 > If you couldn't define which group the current button belongs to, you
 could only have one group of radio buttons on each page." from
 http://www.echoecho.com/htmlforms10.htm
 I did it like that so that if the user clicks back by mistake or the
 browser/computer crashes then they would be able to restore their answers
 without starting from scratch which could really be problem if there were
 a lot of questions, ie 30!

-- 
Ticket URL: <www.redweasel.co.uk/projects/co2015/ticket/34#comment:11>
co2015 <http://www.redweasel.co.uk/projects/co2015/>
co2015 group project

Other related posts: