Desktop User Guides > Author > Formatting questionnaires > Using style templates for questionnaires > Applying a style template to a questionnaire
Applying a style template to a questionnaire
You can apply different presentation styles to a questionnaire to change the way that the questionnaire is displayed in a web page. For example, you can specify fonts, add colors and images, and define the types of control displayed to the respondent. The presentation style is in the form of a style template (.htm) file.
A default style template is provided with UNICOM Intelligence Author. This is the style that applies to all questionnaires unless you specify a different template. The name and location of the default style template is set in the Options dialog: View tab.
You can attach a template to a questionnaire to override the default template, and you can also attach a different template to individual questions, overriding the questionnaire template.
To apply a style template to a questionnaire
1 Select a routing in the Routings pane.
2 If it is not visible, display the Properties pane.
The Routing options are displayed in the Properties pane.
3 Click the ... button next to Layout Template, and browse to the location of the template file you want to use. By default, when the questionnaire file is opened from a local directory, templates are under the Documents and Settings\All Users folder, for example:
C:\Documents and Settings\All Users\Application Data\IBM\SPSS\DataCollection\7\Author\Library\Templates
or under ProgramData, for example:
4 When the questionnaire file is opened from an UNICOM Intelligence Interviewer - Server Admin, you can select templates that are stored in the user project folder, the role presentation style folder, for example:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\Interviewer Server\FMRoot\Roles\DPMAdmins\Templates\DataCollection\
or the shared presentation styles folder, for example:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\Interviewer Server\FMRoot\Shared\Templates\DataCollection\
If you select a file from a role folder or the shared folder, the file is automatically copied to the user project folder.
5 Choose OK.
The template is applied to the questionnaire. To see the results, see Previewing questionnaires.
Applying a style template to a questionnaire from the Library
1 In the Library pane, expand the Templates folder, and then select a template.
2 Click Apply.
See also
Using style templates for questionnaires