Embed survey in iframe

More
5 years 9 months ago #65627 by Fred01
Fred01 created the topic: Embed survey in iframe
I'm trying to embed limesurvey inside another page using the iframe tag. I've read in other posts that this should be possible. Is there some trick I'm missing? Here's some simple sample html:

<html>
This is the "wrapper" page
<body>
<iframeĀ src=" www.mysite.com/limesurvey/index.php " width="100%" height="300">
</iframe>
</body>
</html>

This page is in the limesurvey directory; I just added the fully qualified path just in case. Note I'm forcing SSL in this site.

Please Log in to join the conversation.

More
5 years 9 months ago #65631 by bwoo5
bwoo5 replied the topic: Embed survey in iframe
I looked forever also on the best way to get a page to show up inside another page and this code ended up working the best, just put in your website link inside the quotes where it says to and save as like index.html or whatever you want

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 />
<title>Your Title</title>
<META name="robots" content="noindex,nofollow">
</head><frameset rows="100%,*" border="0">
<frame src="YOUR WEBSITE LINK HERE INSIDE THE QUOTES" frameborder="0" />
<frame frameborder="0" noresize />
</frameset> document.removeEventListener('click, clickHandler, true);
</html>

Please Log in to join the conversation.

More
5 years 9 months ago #65640 by Fred01
Fred01 replied the topic: Embed survey in iframe
Thanks, that works. I did get my iframe implementation to work also. Although I don't like the way it looks yet. I wanted to use an iframe to control access to the survey, so that you'd need to get authenticated to the parent page in order to see the survey in the iframe.

Really I should probably post a new question: How can you use an external authentication system to control access to limesurvey.

Please Log in to join the conversation.

More
9 months 1 week ago #141772 by frozo
frozo replied the topic: Embed survey in iframe
Hi, I have insert my survey with iframe in my webpage. How can I get to put the USER TOKEN?. Something like this does not work:
www.mywebpagewhereistheiframe.com/{TOKEN }. When user opens the survey, it required the password. Is there anything I can do to avoid this?, I mean, I want that user clic on link with a token (when invitation email occurs), could you help me please?

Thanks

Please Log in to join the conversation.

More
9 months 1 week ago #141774 by holch
holch replied the topic: Embed survey in iframe
Please do not post the same question more than once, you have asked this already here a few hours ago:
www.limesurvey.org/community-services/fo...iframe-occurs#141763

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now