2010-07-12
QPL Reference Manual

This section of the QPL6 Reference Manual contains a growing collection of examples and tutorials that may give you some ideas about how to solve problems you may have.

Examples

Changes Needed to Update a QPL5 Program to QPL6. This page shows how the syntax of a number of key commands has changed from QPL5 to QPL6. The new syntax must be used in your QPL program to achieve the same result. These changes include how to put content into your project home page, insert subtitles and page breaks, and put questions into a horizontal (or matrix) layout.

Changing the Home Page Logo This pages shows you how to use the LOGO command to insert your logo graphic on your QPL-generated projected home page.

Adding a Pop-Up Window This page shows how to create a link in your source QPL program file (.pg6) to a small browser window. You can use this small, or "pop-up," window to display various bits of information such as a glossary list or other background information.

Increasing the Maximum Number of Content Analysis Tags. This page explains how to increase the maximum number of content analysis tags that may be used on a project that has already been deployed on a web server.

Sample program using the MATRIX, COLUMNS, and INDENT question layout commands. This is a questionnaire program that was used on a GAO job that demonstrates some of the more advanced question layout commands.

Create a complex COLUMNS layout. This is a short tutorial that takes you through the steps of adjusting a complex COLUMNS layout so that a browser is able to display the layout without distortion. If a browser cannot fit something within the space you have allowed, such as a very long word or very big answer input field, it will silently expand the space to make it fit this large object.

Confirming New Account Information. This page explains how you can send respondents who create their own accounts automatic email messages that contain their account information. Using confirmation messages can reduce your administrative burden by minimizing the number of questions you get about forgotten user names and passwords.