simple Survey API how to or tutorial
Options
hi there -- Is there any tutorial or a how to for implementing a simple survey using the API? I've been looking on the board/help and can't find anything.
thanks!
thanks!
Tagged:
0
Comments
-
You can use LuminateExtend library:
1) Follow the basic setup instructions
2) Includ the library
3) Initialize LuminateExtend by including the following script once per page (could be at the end of your wrapper assuming you included the library in your wrapper <head>):
luminateExtend({
apiKey: '[[S0:CONVIO_API_KEY]]',
path: {
nonsecure: 'http://[[S29:DOMAIN]][[S29:PATH]]',
secure: 'https://[[S29:SECURE_DOMAIN]][[S29:SECURE_PATH]]'
}
});
4) Take a look at the survey example and make the necessary callback changes as needed.3 -
Another thing you can do is 'scrape' an existing survey. This was a trick we used before the API came out.
Put all the fields you'll need on a normal survey and publish it. Then visit the survey in your browser, view source and copy the HTML.
Then you can remove everything but the form elements, get rid all the html that Luminate generates leaving just the form and inputs. Don't miss any!
Paste that into a Pagebuilder page or html page and build it out like you would any other html page.
Using the API isn't super hard and gives you more control, but this is still an option if you don't want to deal with it.3 -
Fyi: I am wanting the survey to be on a non-convio site
A couple of questions about the "scraping" method that I couldn't figure out how to solve:- Is there a way to keep it from redirecting to the convio survey if there is a user error?
(i tried using inline jquery to do a validation, but this didn't seem to work) - In the convio survey if I have designated a url for the user to go to once the survey is complete -- is there a way to have this load into the same screen as the survey itself?
0 - Is there a way to keep it from redirecting to the convio survey if there is a user error?
-
The serverside error validation issue is one of the shortcomings. I make as much of the questions non-required as possible and rely of client side validation. I like to use LiveValidation, but there are plenty. (https://github.com/alechill/livevalidation)
The survey complete page is controlled by the original survey configuration. That can direct right back to your scraped survey. You might append a querystring param to indicate the success, so you can show a thank you line. (http://mydomain.org/survey.htm?success=true)
Also: You can definitely use the API on a non-convio site. You'll need to whitelist that domain in the API set-up. And then of course you can't use the S-tags to pass your API key and domain in the init as Romaney showed, but you can just hard code them.0 -
Second both Romany and Brian's comprehensive explanations.
To add into the already stated, the survey API benefit use case:- You'll be able to have both the survey form and the thank you confirmation post submit in one single web page / pagebuilder, hence saving the need from having to build multiple pages individually. Further, you could conditionalize the content of your "Thank You" confirmation according to your user input which might be restricted if you on regular LO survey page / ghost scrape form.
- In some use cases, you would be able to autosubmit the survey behind the scene -- one of our actual use case is that we want to enroll our team captain into a LO group upon registration, thus we have an autosubmit survey that would submit an entry into a backend LO survey which would enroll one into LO group upon submission. That group then would be used for multiple various purpose (follow up email from event managers / coordinators, or enrollment into our Team Captain online training LMS)
- Also, if your org is collaborating with 3rd party (i.e. enrollment program etc), API survey would be the way to go because it will allow you to submit the same entry to different end points (i.e. our LO survey as well as the 3rd party enrollment repository)
http://main.diabetes.org/site/PageServer?pagename=Courage_Wisdom_Hope_Kit_SF -- this survey would submit to 2 different end point, our Luminate Online backend survey that is mapped to this API form, as well as into our Salesforce backend -- the requirement that we capture the data on both ends, hence.
The above survey instance could be made embedded into responsive iframe, here's the actual implementation (this is using the previous iteration of the API form survey above (sans Salesforce submission integration) -- this is to demo the iframe responsiveness
http://main.diabetes.org/site/PageServer/?pagename=CWH_Kit
Here's another example of our API form survey that submits to multiple ends
https://donations.diabetes.org/site/SPageServer/?pagename=LWT2D_English
EDIT ADD ON:
1.) Just got to read the follow up threads about the need to have that hosted externally -- you can still build the survey using the PageBuilder and iframe them -- the iframe should work externally, thus no need to white-list things. Will update with another link of externally embedded survey on a project about to wrap up when they are live -- thus you'll see. Or here this should showcase the use case where I have an external page that is hosted on different domain, and I am embedding that Luminate Online survey in a responsive iframe.
http://d-techlab.net/portfolio/ADA/myLOSurvey.html
2.) Also provided survey link is using form validation tapping into the "jQuery form validator" library.1 -
This is another example of the externally hosted embedded LO using responsive iframe (note the form part are LO survey form). As long as the parent/child page are respecting the mixed-content security browser ruleset, you should be good to go, and this approach would save time of having to whitelist the external domain in order to put the API directly (not to mention, there's limit of spaces / slot of the whitelist components (at least the IP portion) are limited to a finite amount of records (which we hit that limit in past -- I think approx about 60 records max, not to mention if we have to do /24 /32 netmask that would take up spaces lot quicker))
https://makeinsulinaffordable.org/petition/1 -
Are these instructions still valid and current? I'm having a hell of a time getting through these instructions. I am not a coder so it's quite the challenge. All I need is a signup field on our WordPress site that updates in Luminate and has a decent user experience.0
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 1 YourCause® from Blackbaud®
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 1.1K ARCHIVED FORUMS | Inactive and/or Completed EAPs
- 3 Blackbaud Staff Discussions
- 7.7K ARCHIVED FORUM CATEGORY [ID 304]
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board