Please enable JavaScript to view this site.

iService Forms User Guide

The $Header command has two use cases: specify the form contains something other than HTML, and allow the form to be loaded in an iFrame.

 

When you include a form into another form, and the form contains pure CSS, JS, or JSON, you must add the $header variable to the top of the form. This tells the form into which it's included that it has a specific type of content. When including an iService form in an iFrame on another website, we need to tell the browser that it's ok to load our content on their website. These two use cases are explained below.

 

tog_plus        Specifying the content type

 

tog_plus        Putting forms into iFrames