![]() |
CMS
Version 3.9
|
Public Member Functions | |
QuestionnairePreview ($mgr) | |
writeOneQuestion ($question) | |
writeScript () | |
![]() | |
QuestionnaireForm ($mgr, $readOnlyForm=false) | |
makeSubordinate ($subordinate=true) | |
getValidationEngine () | |
button ($text, $url, $confirm=null, $isScript=false) | |
Adds a custom button to the form. More... | |
drawButtons () | |
Draws any additional buttons specified in the calling script. More... | |
getAnswer ($question) | |
writeHTML () | |
fromPOST () | |
Put any updated or new answers in the $_POST array into the array of answers that are indexed by question id so that when we draw the form, the answers are shown, even if page is not reloaded. More... | |
drawForm () | |
drawSubmitButtons ($submitLabel) | |
drawReadOnly () | |
drawView () | |
getIndexedAnswers () | |
validate () | |
save () | |
Public Attributes | |
$mgr | |
![]() | |
$mgr | |
$questions | |
$answers | |
$submitLabel = "Save" | |
$validators = array() | |
$requiredText = "<b>You must answer all required questions.</b><br/>" | |
$msg | |
$onSaveComplete = null | |
Callback event handler that is fired after the AutoForm has finished saving data to the database. More... | |
$readOnlyForm | |
Specifies whether the entire form is read-only. More... | |
$id | |
$labelCSS = "" | |
CSS Class to use for label cells. More... | |
$valueCSS = "" | |
CSS Class to use for field/value cells. More... | |
$buttonCSS = "button" | |
CSS Class to use for buttons. More... | |
$inputCSS = "" | |
CSS Class to use for input fields. More... | |
$checkboxCSS = "" | |
CSS Class to use for checkbox fields. More... | |
$markRequiredFields = false | |
Set to true to add an asterisk after required field labels. More... | |
$onFormatLabel = null | |
Label Processing hook. More... | |
$buttons_at_top = false | |
$requiredFieldsText = "* indicates required question" | |
$subordinate = false | |
$buttons = array() | |
The custom buttons collection. More... | |
$allowIncompleteSave = true | |
Allows users to save partially completed forms. More... | |
Additional Inherited Members | |
![]() | |
static | incrementArray ($array) |
Definition at line 502 of file questionnaire_form.inc.
QuestionnairePreview::QuestionnairePreview | ( | $mgr | ) |
Definition at line 506 of file questionnaire_form.inc.
QuestionnairePreview::writeOneQuestion | ( | $question | ) |
Reimplemented from QuestionnaireForm.
Definition at line 521 of file questionnaire_form.inc.
QuestionnairePreview::writeScript | ( | ) |
Reimplemented from QuestionnaireForm.
Definition at line 544 of file questionnaire_form.inc.
QuestionnairePreview::$mgr |
Definition at line 504 of file questionnaire_form.inc.