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

Introduce a property to hide survey results from the Complete Page in the Preview tab #5380

Closed
JaneSjs opened this issue Apr 3, 2024 · 0 comments · Fixed by #5383
Closed
Assignees
Labels
enhancement user issue An issue or bug reported by users.
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Apr 3, 2024

IMPLEMENTED

You can now disable the previewShowResults property if you want to hide the survey results table from the Complete Page in the Preview tab.

import { SurveyCreatorModel } from "survey-creator-core";
const creatorOptions = {
  // ...
  previewShowResults: false
};
const creator = new SurveyCreatorModel(creatorOptions);

Documentation


Task: hide the Survey Results section which appears after survey completion:
In the meantime, it is only possible to do so via CSS.

.svd-test-results {
  display: none;
}

image

User inquiries:

@JaneSjs JaneSjs added enhancement user issue An issue or bug reported by users. labels Apr 3, 2024
tsv2013 pushed a commit that referenced this issue Apr 4, 2024
tsv2013 added a commit that referenced this issue Apr 4, 2024
…ction within the Preview tab (#5383)

* Implemented #5380 - Introduce an option to hide the Survey Results section within the Preview tab

* Update the description

---------

Co-authored-by: tsv2013 <tsv2013@noreply.github.com>
Co-authored-by: RomanTsukanov <sergeich16@gmail.com>
@OlgaLarina OlgaLarina added this to the v1.9.138 milestone Apr 8, 2024
@RomanTsukanov RomanTsukanov changed the title Introduce an option to hide the Survey Results section within the Preview tab Introduce a property to hide survey results from the Complete Page in the Preview tab Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users.
Projects
None yet
3 participants