All Collections
Creation and graphic design
Advanced
The IFRAME as part of the survey questionnaire
The IFRAME as part of the survey questionnaire
Artur Zbiejcik avatar
Written by Artur Zbiejcik
Updated over a week ago

Sometimes we want the created survey to contain more than an introduction and questions. Startquestion gives the users the option to include a different page or document in the content of the questionnaire. This is what the iframe option is supposed to do, a so called floating frame - the iframe.

How to create an iframe?

To add a floating frame to the survey, turn on the advanced editor when creating / editing the question and select the HTML code editing option. Just select the question you are interested in, click the edit button on the right, and then select the source code from the available options (symbol: <>)

<p><iframe src="https://www.startquestion.com" width="800" height="500"</iframe></p>

The placed frame is automatically given the sandbox attribute, which restricts the functionality of the page in the frame for security reasons. For the needs of the most demanding clients, the Startquestion's specialists are able to add appropriate sandbox settings to the frame element, so that all the page functionalities in the frame (for example, forms, scripts) work.

Below is an example of an iframe inserted into the survey content:

Did this answer your question?