[LON-CAPA-users] Forcing a Submit All button

lon-capa-users@mail.lon-capa.org lon-capa-users@mail.lon-capa.org
Wed, 14 Jun 2006 18:32:55 -0400

<font size=3D"2">I am looking to see if anyone has a better/easier way to d=
o this. It is a minot problem, but irritating.<br>
I am building pages with a single problem, containing multiple (15)
parts. The student then sees a single page in the browser, with the 15
question parts. Each part has a Submit Answer button.<br>
The issue - in other configurations, the student sees a Submit All
button at the bottom of the page. This would be very useful, especially
since the "Submit Answer" button does not reposition the page at the
previous location. Thus, the student hits the Submit Answer, then has
to re-scroll down to the question they were working on.<br>
I have found that a page constructed with 2 or more problems will
contain the Submit All button. So, how do I get the button on a page
with a single (multipart) problem?<br>
The current approach is: I created an empty problem, added it to the
page. Now the student sees the usual Submit Answer buttons for each
part. At the bottom of the page is a Submit Answer button for the empty
problem (but with no question), followed by the desired Submit All
Drawbacks: odd looking, with the Submit Answer button without any question.=
Scoring thinks there is an extra question.<br>
I tried a couple of things:<br>
- Using PPRM for the empty problem, set the open date for the empty problem=
 to a date in the future.<br>
Result: Large Print "Problem Not Open Yet" message, and no Submit All butto=
n. Didn't work.<br>
- set the empty question to be hidden through the PPRM for the empty proble=
m. <br>
Result: No empty problem appears, and no Submit All button. Didn't work.<br>
My current approach is OK, but I wonder if there is a better way?<br>