The DIGI channel surveys support a variety of HTML elements that can be used for survey customization. For example, a question with the following text:
<strong>This sentence should be in bold</strong><br/>And this
should start on a new line.
will be rendered by DIGI Channel as-is:
The HTML elements can be used in the question text, error text, or answer name.
The use of the <script> and <iframe> HTML elements
By default, the more complex <script> and <iframe> elements will be rendered as a simple text inside the DIGI survey. However, there is a way to force DIGI channel to render these HTML elements, by loading the DIGI Runner Script with the
With this parameter enabled the <script> and <iframe> will be rendered as HMTL by DIGI.
Even though this method allows making question texts fancier and more flexible to design, we recommend to use it with caution, since loading DIGI Runner Script with the
&unsafe=true parameter may expose your website/web application's vulnerabilities.
Article is closed for comments.