Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

qaBuilder.initialise()

Create or re-initialise the questionare referred to by this object.

Syntax

number = qaBuilder.initialise(surveyName)

Parameters

The 'qaBuilder.initialise' method takes 1 parameter:

Name Type/Value Range/Length Description
surveyNamestring  Optional. The name of the survey.

Results

The 'qaBuilder.initialise' method returns number:

Type/Value Range/Length Description
number   The fileID of the questionnaire or -1 for failure.

Remarks

This method restarts a questionnaire from scratch, and will create a file object to hold the questionnaire if an ID was not supplied when this object was created.

Pages and questions cannot be added to an uninitialised questionnaire

If a survey name is provided, it is used to identify the questionnaire, it is used to link questionnaires to answer files, and therefore cannot be changed except by creating a copy of the questionnaire.

Whitebeam release 1.3.36
(loadtime : 10ms)