Using HTML with QSL

From Catglobe Wiki
Jump to: navigation, search



Using HTML with QSL

QSL support both HTML and non HTML tag in question text , sub question text . In order to import a question has HTML tag in it's content , the property HTML must be set to to true in question's properties field . We also can set this mode for all the question in import questionnaire by setting the property HTML to true in questionnaire's properties field .

Example

QUESTIONNAIRE [HTML = true]

QUESTION Q1_Page PAGE

This is the first line of text

This is the second line of text

QUESTION Q2_Single SINGLE [HTML=false]

This is the first line of text

This is the second line of text

1: Answer option's line 1

Answer Option line 2

2: Answer Option line 1

Note :

- Property HTML is used as a mode when import QSL , it's not a property of a question ( or questionnaire )

- Default setting is HTML = false

- Property HTML of question have higher priority than the one defined in questionnaire's property field . In the example above , question Q2_Sinle has HTML = false , question Q1_Single has HTML = true.