Submit button

Submit button

par Robbie C,
Nombre de réponses : 11
Hello everyone,

How do I get rid of the submit button after each quiz question? I would only like to have one SUBMIT button on the bottom of the page. Thank you!
Moyenne des évaluations: -
En réponse à Robbie C

Re: Submit button

par John Isner,
Edit the quiz and set Adaptive mode to No.
En réponse à John Isner

Re: Submit button

par Robbie C,
Brilliant, thank you John!
En réponse à Robbie C

Re: Submit button

par Robbie C,
Hmm, now that I got rid of the submit buttons beside each question, I would like to only have one button right at the botton - "SUBMIT ALL AND FINISH". Right now, I have that and a button "SAVE WITHOUT SUBMITTING". Is there a simple way to only have "the SUBMIT ALL AND FINISH" button?
En réponse à Robbie C

Re: Submit button

par Just H,
Hi Robbie

You can get rid of the "Save without submitting" button by commenting out line 531 in the file mod/quiz/attempt.php i.e.

/// echo "<input type=\"submit\" name=\"saveattempt\" value=\"".get_string("savenosubmit", "quiz")."\" />\n";

regards
Harry
En réponse à Just H

Re: Submit button

par Robbie C,
Thanks Harry, it works like a charm! I cannot believe how easy it is to do it.

Moodle rocks!!!
En réponse à Robbie C

Re: Submit button

par Just H,
Hi Robbie

I'd love to take the credit but all I do is cut and paste most of the time wink I found that little tip somewhere in the forums a while back.

In my Moodle install I have a hidden glossary where I keep all those little tips and hacks I find useful so I can find them quickly . . . helps getting a new install or an upgraded install back to speed.

Good to hear you are finding Moodle as cool as I am big grin

Regards
Harry
En réponse à Robbie C

Re: Submit button

par Tim Hunt,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar Plugin developers
An alternative answer is to wait for Moodle 1.8. We (well, my colleague Mahmoud) is doing some work to improble the quiz naviagation.
En réponse à Tim Hunt

Re: Submit button

par Joseph Rézeau,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers Avatar Translators
Tim > "We (well, my colleague Mahmoud) is doing some work to improble the quiz naviagation."

Is this quiz navigation future improvement related in any way to the Infinite Improbability Drive?

Joseph big grin

En réponse à Joseph Rézeau

Re: Submit button

par Jeff Forssell,
big grinbig grin I really MUST get around to reading the Hitcherhikers Guide. Just those few paragraphs will keep me grinning for hours.