Ionic x SurveyJS


Hi there,

I’ve created a survey on SurveyJS’s Visual Editor, and noticed that it provided the option to be embedded on a website. It had a snippet specifically for AngularJS (shown below) and I wondered if it would be possible to integrate my survey into an Ionic app.

I’ve already tried integrating it a couple of times but it kept leading to an error believed to be internal to the surveyJS library.


Survey.Survey.cssType = “bootstrap”;

var surveyJSON = { surveyId: ‘00000000-0000-0000-0000-000000000000’}

function sendDataToServer(survey) {

selector: ‘ng-app’,

export class AppComponent {
ngOnInit() {
var survey = new Survey.Model(surveyJSON);
Survey.SurveyNG.render(“surveyElement”, { model: survey });

I would appreciate any advice or support.


Hi @juleslui

I have developed an example project where I show how to integrate SurveyJS in Ionic APP. I hope it helps you.



So it really did just come down to a lack of understanding.

Thank you very much, sir @adrian_brito . Hope more good things come your way.