Pop-Up Survey
SurveyJS Form Library allows you to embed pop-up surveys in your website. You can use this functionality to create exit-intent popups, pop-up quizzes, lead generation popups, and other kinds of website pop-up surveys. For example, this demo shows how to display a customer feedback survey in an embedded pop-up window.
When you design a pop-up survey for a website, you can use the same JSON schema you would use for a survey displayed inside a page. However, to render a website pop-up survey, use the PopupSurvey
object instead of Survey
. To expand or collapse a pop-up survey, use the isExpanded
property or the expand()
and collapse()
methods. If you need to handle popup closure, subscribe to the onClose
event.