Please enable JavaScript to view this site.

iService Forms User Guide

The $Header command is used  to specify that a form is CSS or JavaScript. This command is used in a form that is reference by another form to specify its contents, which are other than text/HTML.  

 

Example:

You have CSS that is used in multiple forms, so you place it into its own form (e.g., Form 2) and reference it in the other forms using the HTML "Link" parameter. You will need to add the $Header command to Form 2 and specify that it is a CSS file.

 

Inside of Form 1, you would use the link command below to incorporate the CSS from Form 2.

<link rel="stylesheet" type="text/css" href="/f/2"> {this brings the CSS from Form 2 into Form 1}

 

Inside of Form 2, you would add the following to the beginning of the form.

 

$Header -filetype(CSS)$

 

Available Parameters for $Header

Parameter Name: -filetype (required parameter)

The -filetype parameter is required to indicate the type of file that is being referenced. The options are CSS (Cascading Style Sheet) and JS (JavaScript).

 

Example:

$Header -filetype(CSS)$ -- this indicates the form is CSS

$Header -filetype(JS)$ -- this indicates the form is JavaScript

$Header -filetype(Json)$ -- this indicates the form is Json