Questions tagged [surveyjs]

SurveyJS is an open-source JavaScript library for creating surveys.

SurveyJS is an open-source JavaScript library for creating surveys.

148 questions
7
votes
1 answer

How to name a property using a reserved keyword in OpenApi/Swagger/YAML

Is there any way to name a custom property 'type', given that there already exists a special 'type' property which is a reserved keyword. components: schemas: element: type: object properties: name: type: string #type…
bob k
  • 73
  • 1
  • 5
4
votes
1 answer

Nuxt + SurveyJS : When using nuxt generate or nuxt build - get a maximum call stack size exceeded

I have survey-vue (surveyJS) working well on dev, but when I attempt to deploy I get a maximum call stack size exceeded error when landing on a page with the survey component. I was thinking it's how I'm importing the plugin but I'm not…
breezybri
  • 41
  • 3
4
votes
1 answer

Send surveyjs result to API

I am trying to send surveyjs results to my API. In mounted(), I make a GET request with vue-resource, get questions from my dB and then set surveyjs. To send the results, I tried to use this.$http.post, in the surveyJS onComplete function, but I got…
victor
  • 75
  • 1
  • 7
3
votes
1 answer

How to handle 'Next' button programmatically in SurveyJS? (survey-react)

I have a survey page that created with SurveyJS lib(survey-react) and I have 2 problems: I want to query back-end server when I click 'Next' button in the survey , if server return a true , then jump to next page , if false , stay in current page…
jjzjx118_2
  • 419
  • 7
  • 23
3
votes
1 answer

Survey JS Radio Calculation

Using Survey JS, the idea is to ask users to answer a number of questions from a pre-defined list of options (radio buttons). Each option will be allocated a score (0, 25, 75, 100), as each selection is made i'd like to display the live score…
TheOrdinaryGeek
  • 2,273
  • 5
  • 21
  • 47
2
votes
1 answer

How do I add multiple endings to a surveyjs survey?

I created a survey using surveyjs's online designer and incorporated it into my web app. I would like to add two endings to the survey though. If user clicks "no" for questions 2,3 or 4, it shows' the message "sorry ... thank you" instead of the…
axolmain
  • 23
  • 3
2
votes
1 answer

Can we add a welcome page in surveyJS library

I am using surveyJS library in my react application for creating surveys, now my requirement is to add a welcome page before questions start. can some one help me on this?
2
votes
2 answers

Imported modules without server side rendering feature

I have an issue with Next.js. When I'm trying to import a node module, the module uses the window object and Next.js is throwing an error: window is not defined. The module is imported like this: import * as widgets from…
AWIXOR
  • 406
  • 4
  • 15
2
votes
2 answers

function outputting function text rather than expected output

I've asked similar questions a few different ways, but here's the simplest version of it - I am trying to increment through a list of keyname values when a function occurs. However, when the function is called, all I am getting is the text of the…
2
votes
1 answer

How to trigger onValueChanged on every Input key stroke in survey JS Angular

Currently onValueChanged triggers on (onblur), I want to trigger on every key stroke to call the API. HTML
Arun M
  • 133
  • 1
  • 11
2
votes
1 answer

surveyjs adding properties to elements problem

So i've been trying to integrate SurveyJS into our survey app to see if it matches our needs, but i keep having a problem adding properties to the elements. I looked around here and on their forum, also their documentation and could find nothing…
alex lug
  • 183
  • 1
  • 12
2
votes
1 answer

Integrating noUiSlider.js with SurveyJS in a ReactJS project

I am using noUiSlider.js (a slider library) as a 'custom widget' that is available within surveyJS (another library). The documentation at surveyJS about the integration with noUiSlider.js is here:…
Ghadir
  • 507
  • 10
  • 21
2
votes
1 answer

SurveyJS : How to implement captcha image challenge

I try implement custom widget follow guide https://surveyjs.io/Examples/Library/?id=custom-widget-select2-tagbox but not show image challenge of captcha how can i implement captcha image challenge for surveyjs form?
Tom
  • 47
  • 6
2
votes
1 answer

API call and Navigation controls with SurveyJS

I am using SurveyJS (https://surveyjs.io/) to make a simple site with few questions. I am able to do all my logic with the options provided by SurveyJS. However, what I'm looking to do is: Make an API call after one of the question (working as…
ᴛʜᴇᴘᴀᴛᴇʟ
  • 4,466
  • 5
  • 39
  • 73
2
votes
0 answers

onPartialSend not working in surveyjs

I have implemented survey app using react, redux and surveyjs library. I am using firebase to host my database.I have tried to store the survey data in each step using the onPartialSend event on Survey model. However the redux and updating…
1
2 3
9 10