Professional > Interview scripting > Writing interview scripts > Page layout facilities > Templates > Writing templates > Using forms
 
Using forms
If you are an experienced HTML user, you can use additional <form>...</form> tags in your layout template. This would allow you, for example, to display a button that participants could click to switch to a different web-based application
When the interview player generates an interview page, it adds a form element to the page. The positions in which it inserts the <form> tags varies according to the content of the template, as follows:
If the template does not contain an <mrPage> tag, the Player inserts the <form> element just inside the <body> element.
If the template contains an <mrPage> tag within the <body> tag, the Player attaches the <form> tag to the <mrPage> parent, and all the child tags of the <mrPage> parent element are inserted within the <form> tag
This information may be of use when deciding where on the page to place your own <form> tags.
See also
Writing templates