Example

Part of the installation of ITP/OnLine is a custom2.zip file. This file contains an example extension to an ITP/OnLine application. This extension serves to illustrate JavaScript customization. The customization in the custom2 application adds thousands separators to numerical questions.

The application extension custom2 is not installed by default. In order to install it, follow these steps:

  1. Go to the configuration page of your ITP/OnLine installation. Refer to the general ITP/OnLine Server Manual chapter Configuration for more information on this subject.
  2. In the field Application Name, fill out "custom2" and click Submit.
  3. In the OnLine application folder, a subfolder custom2 will be created. Copy the contents of the newsample application to this location (or unzip the newsample.zip file).
  4. Unzip the contents of the custom2.zip file to the subfolder. Make sure the unzip does not introduce an extra level custom2; subfolders js and xslt should occur immediately below the existing folder custom2.
  5. For ITP/OnLine ASP.NET only, go back to the configuration page and click the link Deploy next to the application custom2.

The application custom2 is an addition to the newsample application. It adds the following files: