pretty simple question.
I am trying to learn polymer and have made a survey. For one of the questions I would like to assign multiple values as the answer but for some reason I can only get it working with one value.
"survey": [
{
"type": "picker",
"question": "Please rate out of 5",
"min": 1,
"max": 5,
"answer": 5
},
This returns a positive result when the user selects 5 but when the user selects 1-4 it is incorrect.
What I would like to do is store multiple values in the 'answer' field so that if the user selects 1-5 they all register as correct.
How can I do this? I have tried
[1, 2, 3, 4, 5]
and it still doesn't work.
Aucun commentaire:
Enregistrer un commentaire