View Full Version : a question about forms and an online exam..


aero_misao
05-07-2004, 01:50 AM
ok here's the deal..
i created an online exam in jsp.
the whole exam is divided into different pages (depending on the number of questions that the user wants to see per page.. i.e. 5, 10, 15).
moving from one page to another is made possible using a drop down box AND a button.
since there is a button, i made that the 'submit' button.
however, the exam will have to be "officially submitted" so that the scores can be tallied.
is it possible to include another button that would lead to another jsp page which will process the answers of the user?


i know this might be pretty confusing. so let me illustrate, let's just say that the one in italics is a drop down box of the page number that the user can go to and the one in bold is a button:

|page #| |Go! button|

what i want to happen is something like this:

|page #| |Go! button|
|Submit Exam|


how can the form distinguish which button was pressed and at the same time redirect the request to the appropriate page?

getting really desperate in here...
please help... :crying:
thanks for the help in advance... :cheer2:


aero_misao