Advanced Programming

From qualtrics

(Difference between revisions)
Jump to: navigation, search
Line 25: Line 25:
<BR>this.clickNextButton.delay(1500);
<BR>this.clickNextButton.delay(1500);
<BR>});
<BR>});
 +
 +
[[Category:Advanced]]

Revision as of 10:00, 25 March 2010

How to change the width of text boxes in question types other than Text Entry

You can paste the following CSS code either into an individual question or into your header to apply to the entire survey (Find the header in the Look and Feel section). Then, you will adjust the width value to meet your needs.


<style>
Skin .QuestionBody .TextEntryBox {
width:10em;
}
</style>

How to give feedback based on answers to multiple choice questions

The calculations and feedback are achieved by using the Scoring feature available in Advanced Survey Options during survey editing. The scoring feature allows you to assign numerical values to the multiple choice questions and then add the scores.

Feedback based on the score can be determined by a series of questions using display logic. First, the score must be set as embedded data after the data-gathering block through the survey flow. In the next block, you can call on this embedded data to create your display logic and display different sets of feedback depending on the score.


How to require a respondent to spend minimum time per page

Add the following to the "Add to javascript" question option:

Qualtrics.SurveyEngine.addOnload(function()
{
this.hideNextButton();
this.clickNextButton.delay(1500);
});

Personal tools