|
Whitebeam Object Definition
|
Method Description
qaRunner.submitPage()
Submit returned questionnaire answers to the database.
Syntax
number = qaRunner.submitPage(answerDef)
Parameters
The 'qaRunner.submitPage' method takes 1 parameter:
Results
The 'qaRunner.submitPage' method returns number:
Type/Value | Range/Length | Description |
number |
  |
The pageID of the answer File, -1 for failure or 0 if a mandatory question
was not answered, but the submit was otherwise OK.
|
Remarks If the provided object has an attribute of "finish", then the
state of the questionnaire is set to "Complete".
|
The submit function will not attempt to erase answers to questions which
are currently disabled. This means that the user can go back to a
previous page, change an answer, and retain entered values. When the
last page is submitted (ie. the Finish button is pushed) then all
questions disabled at that point will have their answers expunged from the
answerFile XML.
|
|
|
(loadtime : 9ms) |