Have Questions? (800) 477-0970

Adding a Pop-Up Window to your Survey


Please Note:This is a tutorial for SurveyGizmo 2.0 users. We will be updating this for SurveyGizmo 3.0 users ASAP

This tutorial shows you how to add a link or a button that launches a new window. This can also be used to launch your survey in a new window when a respondent clicks a link or button on your website. This script will not create a pop-up automatically on your website when a visitor arrives or navigates away from the page. To do that will require additional programming.

Whether on your webpage or within your survey, a bit of simple HTML could be added to your survey in a descriptive text field to create a link or button that opens a brand-new window containing helpful information, a secondary survey, or an external website with further information for your respondents to evaluate. Whatever the usage, adding to your survey is a simple process.

Click Add Descriptive Text on any page where you wish to add the link/button. If you would like to place it as part of a question title, you can add it during the initial question creation. If the question already exists and you click the Advanced Edit (notepad) icon, you can click the Source button on the toolbar to access the HTML version of your question title.

For a link:

<a href="#" onClick="window.open( 
'http://Link.To/Webpage', 'mywindow', 'width=800,height=600' )">Text of the Link</a>

For a button:

<input type="button" value="Button Text" onClick="window.open(
'http://Link.To/Webpage', 'mywindow', 'width=800,height=600')" />

Editable Items within the Code

http://Link.To/Webpage – This is the the URL of the webpage that will be loaded in the pop-up window

width=800,height=600 – This sets the size of the pop-up window

Text of the Link (link only) – This is the clickable text that will be displayed to the survey respondent

Button Text (button only) – This is the text inside the button itself

The code is simple and common across the web, but it never hurts to provide the specifics for the lovely clients of SurveyGizmo!

Have you tried SurveyGizmo yet? Try our 14 day free trial

The Survey Expert Blog

By

Why Survey Design Matters for Feedback Surveys

February 3 2012 -

Survey Expert Ryan Farmer observes that many well-known companies aren’t branding their surveys, and discusses why survey design is hyper-important when you want to gather customer feedback.

By

New Team Management & User Permissions System

Starting February 2nd, SurveyGizmo is launching a new set of user management features. Learn more about them here!

By

5 Questions with SurveyGizmo co-founder and CEO Christian Vanek

Boulder’s Daily Camera newspaper interviews Christian Vanek, who shares what’s next for the company.

More from our Survey Experts