Change text box size

From Catglobe Wiki
Revision as of 09:27, 16 January 2012 by Cg van (talk | contribs)
Jump to: navigation, search

Change Text box size

You want to change the text box size in a Text question .The script is often used together with the Maximum text length script

In order to make text box wider.

As a questionnaire creator

I want to change text box size

Example

  • I have a Text grid question like below.


  • I want to change text box size.

Solution

  • Add a Text grid question to Questionnaire editor like below
  • Go to menu Properties -> Question scripts -> Java script tab -> Input script

Code

1 quest.size=50;

Source

Questionnaire Resource Id on cg site: 159730