Survey scrape into WP popup. Options?
Hi, I'm following this KB:

One caveat is that I'm putting the form in a popup. So I need advice on step 9: the NEXTURL.
What would you do? NEXTURL to my thank you page and open on top of the Original Page? Can I code NEXTURL to open in a new tab? Can I code something to say Thank You within the confines of the popup box, then the user closes?
I've seen some other users chat about this from a few years back so I hope there's good intel out there!
Thank you!
Comments
-
@Erik Leaver it seems like you had some thoughts surrounding this in 2022 so maybe you're the best resource!
0 -
@Kelly Bodie Hi! I think in your example, once you hit submit, that modal box will close. So the NEXTURL should be your internal webpage that notes success and then moves them to the next step in your engagement ladder.
0 -
@Erik Leaver
Correct. My issue is then I've taken them away from the page they were browsing when the popup appeared. That's why I'm wondering about NEXTURL in a new tab – so their original page stays up. Possible? Other ideas to keep that original page within reach?0 -
@Kelly Bodie The next URL can take you anywhere - been some time since I've played with WordPress but you can probably send the person into another modal. Might depend on what plugin you are using for the popup.
Another possibility would be not to have any nexturl and have a small toast appear when the popup closes.0 -
@Erik Leaver
How would I code NEXTURL to open in a new tab? What argument do I add?<form id="survey_1162" action="https://workingtogether.nccoast.org/site/SSurvey?NEXTURL=https://workingtogether.nccoast.org/site/SPageNavigator/genericty.html" method="POST" name="survey_1162">
0 -
@Kelly Bodie I'd just add the page you want in the survey itself under step 1.12 → Survey submitted page.
0 -
@Erik Leaver
Thanks for all your help so far.
I tested that, but my scraped form code is in a Popup.It seems no matter if I rely on the survey submit settings or NEXTURL, on submit, my thank you page loads over the page my user was originally reading. That's why I think I want my thank you page to load in a new tab.
view of popup: (link https://www.nccoast.org/thank-sharing-adventure/)

view of thank you page that loads OVER my original page: (now my user is lost)

I agree with our short discussion over on the API thread …that level of technical know-how is overkill for this.
I appreciate your time!
anyone else have ideas or experience getting a scraped LO form to say thank you in a popup?
0 -
@Kelly Bodie Understood. You might try engaging in the community for the plugin you are using for the popup. There's also some good discussions I found with a quick search about using javascript to open a modal using a direct link. Good luck!
1 -
@Kelly Bodie maybe you could add target="_blank” to your form code. I don't have a Wordpress popup + survey to test it at the moment, but it's just a thought.
0 -
@Daryl Bunker
That's the idea, but it'd have to be an argument attached to the NEXTURL somehow. That's the Link I want to open in _blank. I just don't know how to write that in the same string. Do you?<form id="survey_1980" action="https://workingtogether.nccoast.org/site/SSurvey?NEXTURL=https://workingtogether.nccoast.org/site/SPageNavigator/genericty.html" method="POST" name="survey_1980">
0 -
@Kelly Bodie
What if you did something like:<form id="survey_1980" action="https://workingtogether.nccoast.org/site/SSurvey?NEXTURL=https://workingtogether.nccoast.org/site/SPageNavigator/genericty.html" method="POST" name="survey1980" target="_blank">
1 -
@Daryl Bunker
That mostly worked! My NEXTURL opened in a new tab. (I'm really surprised at that because I figured as soon as you left the NEXTURL command you were no longer modifying it.)The trade-off is that my popup box doesn't close. I think I'll try to fix that with a time-out cookie. The completed fields appeared in LO, so I know it functions.
Thanks for chiming in and disproving my assumptions!
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 778 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


