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.

goNextPageAutomatic causes validation error to show up on page load

See original GitHub issue

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

bug

What is the current behavior?

When goNextPageAutomatic is true, sometimes the field validation error (for required) will show up before the user enters anything in the field.

What is the expected behavior?

The field validation should happen after user input

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

Set goNextPageAutomatic to be true, One question per page (that’s my current setting, not sure if this is related)

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

Tested page URL: https://surveyjs.io/published?id=cddefda3-d450-4804-ac3b-274898e09212

It happens to both my local copy (without using service) and the service version.

Test code

your_code_here

Specify your

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
yidancommented, Aug 14, 2018

@andrewtelnov Thanks Andrew. It does not work in Chrome for me, either. I’m on Chrome 68.0.3440.106 (Official Build) (64-bit), Mac OS X.

1reaction
yidancommented, Aug 14, 2018

@andrewtelnov Hi Andrew, could you try a few more times? I happened to me in the plnkr example. After hitting the Next button and going to this page, before I enter anything, the error message shows up. screen shot 2018-08-14 at 8 03 00 am

Appreciate your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

50. WAI-ARIA validation error is present when page loads
Description: A WAI-ARIA validation error message is already present on the page when the page is loaded. Context: Validation messages should ...
Read more >
MVC Razor Validation Errors showing on page load when no ...
When I click on the link to view the AddUser page, validation messages are showing after it loads, yet at this point no...
Read more >
SurveyModel | SurveyJS
The SurveyModel object contains properties and methods that allow you to control the survey and access its elements. View Demo.
Read more >
Show Validation Error Message on Page Load - YouTube
In this video, I am going to show you, How to Show Validation Error message on Page Load.
Read more >
Error messages - Shopify Polaris
If the cause of the error is visible and the error just happened, show the ... Admin page load error ... Text field...
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