Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Questionnaire - Javascript Fun Tips: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
Line 1: Line 1:
== Basic Hints  ==
== Basic Hints  ==


[[Quest|quest]]  
Questionnaire viewer is implemented in a way that you can add javascript to manipulate the way your questions are displayed. Thanks to jquery, javascript has even more powerful effect! (read more about jquery here: [http://jquery.com/ http://jquery.com/])


[[Questioncheck|questioncheck]]
Javascript is a property on both question and questionnaire levels, which means that you can add javascript for each question or for the whole questionnaire.
 
The most important features are:
 
*quest: the current question's object
*questioncheck: the function that will be called before going Next


== Examples  ==
== Examples  ==

Revision as of 09:18, 18 December 2008

Basic Hints

Questionnaire viewer is implemented in a way that you can add javascript to manipulate the way your questions are displayed. Thanks to jquery, javascript has even more powerful effect! (read more about jquery here: http://jquery.com/)

Javascript is a property on both question and questionnaire levels, which means that you can add javascript for each question or for the whole questionnaire.

The most important features are:

  • quest: the current question's object
  • questioncheck: the function that will be called before going Next

Examples

Hide sub question text column in a grid question

Show a text grid question and a single question in the same page

Add an extra column before an answer option column in single grid question

Change stylesheet of an answer option column in a single grid question

Add an extra row before a sub question in a grid