AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sample iframe html code4/11/2024 This is beyond SurveyLegends control, it’s your responsibility to embed the survey on a secure site and handle the data passed with utmost care. Responses that potentially could contain sensitive information will be passed to the site containing the IFrame, which could be infected with malicious scripts listening to messages from all IFrames, it can be using plain unencrypted http requests exposing information over the network, etc. For instance you can save the data to your own system directly, without using webhooks, you can perform actions depending on responses to specific questions like displaying custom thank you pages or loading follow-up surveys, based on respondents’s answers. This opens up limitless possibilities for you. But with this feature, all you need is your own site and you own script.Įnable this setting to include the submitted responses in the notification message to the HTML page which contains your IFrame. To achive such a level of control, you would normally need to have your own server and setup webhooks, which would be quite complex. This feature will empower you to take control of any event that you desire to happen after your respondents press the SUBMIT button. Simply copy the generated script and paste it in your HTML code where the IFrame is embedded, or create a separate script-file and load it in the same web-page. This makes the questionnaire seamlessly look like a part of your website. This way, when the survey is loaded in the IFrame, it won’t have any background image, and if the HTML page that contains your survey has a background image, that image will be displayed in the background of the survey too. Turn this setting ON to make the background of the IFrame fully transparent. For example, in the iframe code, you can change the height to 700 pixels like this: height= "700px" So if you have a small and tidy survey, adjust the height of your survey according to that. Generally it’s better to avoid long surveys, by incorporating “Page breaks” in your survey. The height of the iframe depends upon the height of your survey questions or the height of your survey page. For example, width: 700px will make a container for your survey which is 700 pixels wide, width: 70% will make a container for your survey which covers 70% of the width of the page it is shown in. You can manually change the width value to other values (percentage or pixel). Embed surveys that are beautiful in your website or blogīy default, the generated IFrame code’s width is set to 100%: width= "100%", which means the survey will horizonally cover its container entirely.
0 Comments
Read More
Leave a Reply. |