question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Progress buttons do not adhere to set CheckErrorsMode

See original GitHub issue

Are you requesting a feature, reporting a bug or asking a question?

Reporting 2 bugs and asking a question

What is the current behavior?

  1. With "checkErrorsMode": "onComplete", navigating via the progress buttons validates each page.
  2. Using "showProgressBar": "hidden" together with "progressBarType": "buttons" does not work, the whole survey is then hidden. This does work when I reset to `“progressBarType”: “pages”.

Also, clicking another page via the progress buttons does not trigger onPartialSend, is this intended? I send data to the backend on each Next click, I would like this to happen as well in case you navigate forward with the progress buttons.

What is the expected behavior?

  1. With "checkErrorsMode": "onComplete", navigating via the progress buttons should not validate each page.
  2. Using "showProgressBar": "hidden" together with "progressBarType": "buttons" should just render the survey with hidden progress buttons, just as it does with `“progressBarType”: “pages”.

How would you reproduce the current behavior (if this is a bug)?

Try to navigate to the second page without answering the required question via the progress buttons vs via the Next button in this Plunker: https://plnkr.co/edit/EwobXA46C8GB5g8v

Provide the test code and the tested page URL (if applicable)

See Plunker above

Specify your

  • browser: Firefox
  • browser version: latest
  • surveyjs platform (angular or react or jquery or knockout or vue): jquery
  • surveyjs version: 1.8.23

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Lionqueen94commented, Jan 15, 2021

Yes I have tried to reproduce it on Plunker but I couldn’t. I don’t see any errors either, and the whole survey is actually present in the DOM, it is just hidden somehow, since I don’t see anything. Super weird. I have tested v1.8.25 and it indeed works perfectly, thanks a lot! And have a nice weekend to you all!

1reaction
gologamescommented, Jan 13, 2021

Hello,

We usually release new version every Tuesday. So, you can wait this changes on next week with 1.8.25 version. Use our Whats New page to track the new releases. We’ll update this thread after investigating isSinglePage mode case

Thanks, Alex SurveyJS Team

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use options to customize the Survey Editor, Survey Builder ...
(/mousedown|pointerdown/.test(s)&&0!==e.button||i.disabled)&&(d=o(d,i.draggable ... triggerNotSet:"The trigger is not set",triggerRunIf:"Run if" ...
Read more >
How To Handle 'Next' Button Programmatically In Surveyjs ...
Ask questionsProgress buttons do not adhere to set CheckErrorsMode. Are you requesting a feature reporting a bug or asking a question?
Read more >
Progress bar not working — ROCKSTARS Community
I have a module with 80 slides all within one chapter. Would I have to put the progress bar on every page, or...
Read more >
Buttons progress bar and navigation, Reactjs Survey Library ...
Strongly Disagree Disagree Neutral Agree Strongly Agree Product is affordable Strongly Disagree Disagree Neutral Agree Strongly Agree Product does what it claims Strongly Disagree Disagree...
Read more >
docker-nginx io_setup() failed (11: Resource temporarily ...
Don't hesitate to ask if you need more information ! ... occupying a lot of aio contexts so nginx in this container can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found