You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm just playing around with your example app, the getjsontask doesnt work but i'm using the getsampletask which does.
When i get to the end of the survey and press the submit button I get instance of 'TextChoice' instead of allergy. I updated the results method from another issue on here that was suggested to see results properly.
onResult: (SurveyResult result) {
for (var stepResult in result.results) {
for (var questionResult in stepResult.results) {
// Here are your question results
print(questionResult.result);
//print(questionResult);
}
}
Navigator.pushNamed(context, '/');
},
this is the console output. Id like to also point out that this includes a null for both the start and submit survey buttons at the beginning and end. Do we need to manually remove these entries
null
25
BooleanResult.POSITIVE
dsafgfd
3
[Instance of 'TextChoice'] << **Should say latex**
Instance of 'TextChoice' << **This is the boolean question about whether it can ask more about me, shouldnt that be a boolean or no response?**
TimeOfDay(19:15)
2023-01-10 00:00:00.000
null
My intention like most is to send the results to a user database. Am I trying to get the results incorrectly?
Thanks ahead for your help
The text was updated successfully, but these errors were encountered:
Hello, I'm just playing around with your example app, the getjsontask doesnt work but i'm using the getsampletask which does.
When i get to the end of the survey and press the submit button I get instance of 'TextChoice' instead of allergy. I updated the results method from another issue on here that was suggested to see results properly.
this is the console output. Id like to also point out that this includes a null for both the start and submit survey buttons at the beginning and end. Do we need to manually remove these entries
My intention like most is to send the results to a user database. Am I trying to get the results incorrectly?
Thanks ahead for your help
The text was updated successfully, but these errors were encountered: