InfoQuestion
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(model: object) Create instance. |
Member Summary
Public Members | ||
public get |
customQuestion: CustomQuestion Custom question settings (Inherited from QuestionBase.) |
source |
public get |
customRendering: boolean Is default Confirmit rendering disabled? (Inherited from QuestionBase.) |
source |
public get |
formValues: object Object with values representing question answer for server. (Inherited from QuestionBase.) |
source |
public get |
id: string Question id. (Inherited from QuestionBase.) |
source |
public get |
instruction: string Question instruction. (Inherited from QuestionBase.) |
source |
public get |
isRtl: bool Is right to left language (Inherited from QuestionBase.) |
source |
public get |
text: string Question text. (Inherited from QuestionBase.) |
source |
public get |
title: string Question title. (Inherited from QuestionBase.) |
source |
public get |
triggeredQuestions: Array Array of triggered questions. (Inherited from QuestionBase.) |
source |
public get |
type: string Question type. (Inherited from QuestionBase.) |
source |
Method Summary
Public Methods | ||
public |
validate(raiseValidationCompleteEvent: boolean, validationRuleFilter: function): QuestionValidationResult Perform question validation (Inherited from QuestionBase.) |
source |
Public Constructors
public constructor(model: object) source
Create instance.
Override:
QuestionBase#constructorParams:
Name | Type | Attribute | Description |
model | object | The instance of the model. |
Public Members
Public Methods
public validate(raiseValidationCompleteEvent: boolean, validationRuleFilter: function): QuestionValidationResult source
Perform question validation
Params:
Name | Type | Attribute | Description |
raiseValidationCompleteEvent | boolean |
|
Raise validationComplete event if true. |
validationRuleFilter | function |
|
Custom filter function to apply specific validation rules only. |