Comments (6)
If you are referring to the example app (or if you took the code of that one): the last step is not supposed to be doing anything. That would be something that is left to the one using the library
from surveykit.
@KlausNie I'm not referring to the example app. In my project I try to send answers to server. When I failed to send answers to server I want to click button again but I couldn't do that because button disable when I click last button for once.
from surveykit.
Is there any answer to this?
from surveykit.
I believe the first time I misunderstood your issue!
So the problem is: the way the library (and the last step) is built, it is not made for your scenario. The mentality of the last step was: here are the results, do whatever you want with it (and show a finish screen). Nothing more.
The user was supposed to route away from the page and then do whatever he wants with the data.
Now if you want to use it as a "Send data with click" page, it might still work, but sadly your specific case, where you want to retry the sending is not handled.
In my opinion, if you want to keep that last screen as part of the survey, but it should enable you to reclick the button, then you'll have to build your own custom step ( https://github.com/quickbirdstudios/SurveyKit#-custom-steps ).
Alternatively, you can also build an own view for yourself (outside of the survey) which receives the data from the survey and you handle that case then in there 👍
from surveykit.
So is it possible for the CustomStep to get all the results from all the previous steps without finishing the survey first?
Like TaskResult in on survey finish. Because I see CustomStep uses StepResult in its parameter which is returning the result from the step itself only
from surveykit.
Oh, you are right! You will not be able to get "all" the results in a step, that is simply not possible.
I'm afraid that is not in the scope of providing intermediate results within the survey to the steps
from surveykit.
Related Issues (20)
- First page should not have a back button
- Can not create Form Step HOT 1
- Resume survey from last question HOT 1
- How can I just get the integer answers from my survey so I can calculate a score? HOT 1
- AbortDialogConfig Not Accessible HOT 1
- Unable to change theme colour. HOT 4
- Add publish script in github actions.
- Update README with instructions to help developers fix CI issues.
- How to use in Jetpack Compose only navigation
- Survey kit is lagging when used in a compose only navigation
- Adding CustomStep on First App Crash HOT 1
- Java version HOT 1
- Incorrect Library Setup in readme file HOT 1
- Text Configuration HOT 1
- json schema
- Customize "Cancel, Next" Button and Alert "Cancel"
- In result how to get the original ids or position of all yes and no click position
- Move to GitHub actions
- Conditional rule does not trigger when selecting multiple answer (JSON TASK)
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 surveykit.