Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer doesn't stop at 0 when a survey has validation errors #7507

Closed
JaneSjs opened this issue Dec 15, 2023 · 1 comment · Fixed by #7526 or #7590
Closed

Timer doesn't stop at 0 when a survey has validation errors #7507

JaneSjs opened this issue Dec 15, 2023 · 1 comment · Fixed by #7526 or #7590
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 15, 2023

User Issue: T16024 - Clock font size, overdue minus value
https://surveyjs.answerdesk.io/internal/ticket/details/T16024

If a survey has a timer and validation rules, the following happens: if a survey tries to complete but validation errors occur, the timer continues counting the time in reverse:
image

Expected behavior: when the time elapses but validation errors occur, the timer stops at 0. A user has to correct validation errors to manually complete the survey.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Dec 15, 2023
andrewtelnov added a commit that referenced this issue Dec 18, 2023
tsv2013 pushed a commit that referenced this issue Dec 18, 2023
@RomanTsukanov RomanTsukanov changed the title Survey Timer and Validation - The timer should stop at 0 and wait until a user corrects validation errors Timer doesn't stop at 0 when a survey has validation errors Dec 19, 2023
@JaneSjs
Copy link
Contributor Author

JaneSjs commented Dec 26, 2023

The timer is not actually stopped.
image

https://plnkr.co/edit/n6LwTbfp1iolAE9Q

@JaneSjs JaneSjs reopened this Dec 26, 2023
@JaneSjs JaneSjs assigned tsv2013 and unassigned andrewtelnov Dec 26, 2023
dk981234 added a commit that referenced this issue Dec 28, 2023
Fixed #7507 - Timer doesn't stop at 0 when a survey has validation errors
@OlgaLarina OlgaLarina added this to the v1.9.124 milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment