Comments (2)
Hi,
I understand what you are trying to implement here.
If you would not worry about showing survey json, then you would have something like that:
Question N: Question title and a radio group: (hard) – (easy).
Question N (hard): visible by default. It may not have a title and it has question.indent > 0
Question N (easy): invisible by default and it has question.indent > 0
Using “setValue” trigger (http://surveyjs.org/examples/trigger-setvalue.html) , you may set an invisible question value that a student actually look at the easy question. Another way is to hide Question N and Question N (hard) completely on choosing (“easy”) and make the easy question visible, so a student will not be able to return to the hard question and use a tip(s) to answer it.
So, now the question to you :-). If you would get the full json from the server, then surveyjs will built the survey based on the json metadata and json will be disappeared. Do you concern that your student may intercept the json when it passed from the server?
About “Quiz” – I am thinking to add this functionality directly into surveyjs and dxsurvey.com.
For example, currently I have an idea to pass encrypted corrected answers to a client. However, a client (surveyjs lib) will not able to decrypt the answer, there will be the ability to check, if the answer correct or not, by encrypting the given answer and compare the result with the encrypted correct answer.
If you have any requirements, I would be happy to learn them.
Thank you,
Andrew
from survey-library.
However, a client (surveyjs lib) will not able to decrypt the answer, there will be the ability to check, if the answer correct or not, by encrypting the given answer and compare the result with the encrypted correct answer.
@andrewtelnov what's to stop someone form running the compare code from the console on each of the choices?
I think this is something that has to be done server side.
-- kevin
P.S. "Quiz" is not a requirement for me.
from survey-library.
Related Issues (20)
- Accessibility: header structure HOT 1
- File Upload bug HOT 3
- Panel dynamic addConditionObjectsByContext function doesn't work correctly for a question in the nested panel dynamic
- [Vue 2] Rating Scale: The appearance of rate values switches from stars to a dropdown and back as the survey width decreases
- It is impossible to override question error rendering for a particular survey HOT 2
- Allow to revert the rating scale order HOT 1
- [Knockout] Incorrect CSS for matrix rows with errors HOT 2
- Dynamic panel and show/hide questions
- JQuery library does not scale correctly for mobile HOT 2
- Incorrect rendering boolean question if labels values are several words
- Enhancement: Add Notes panel (contains one RTE) in the survey HOT 3
- Preview layout broken in v1.9.139 / v1.10.1 HOT 1
- `navigationTitle` property doesn't support piped text
- Masked Input - Introduce the Show Mask on Hover option
- [Accessibility] In display mode, users cannot navigate between form fields and read their values HOT 1
- Cannot select more than one option when using `Survey.QuestionTagboxModel` constructor HOT 1
- Read-only question should be inactive in general. HOT 1
- Wrong appearance for read-only question.
- Set currency mask prefix and suffix based on culture HOT 2
- Property changed handlers HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from survey-library.