Survey Solutions

Support portal and knowledge base

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Random selection

Tom Chemoiywo Jan 08, 2018 03:11AM EST

I am testing the "public Example Random Demo" questionnaire posted on the Questionnaire Designer on my Android.

It is NOT displaying the selected person. What is the problem with it?

3 Community Answers

Best Answer
Sergiy Radyakin Jan 09, 2018 01:08PM EST

Tom, you have started with the statement that a public questionnaire dedicated as an example of random selection is not displaying the selected person. Upon checking we find that the example is perfectly fine and working.

You clarify that the problem is not with the public example, but with your questionnaire in which you "tried to replicate" this approach. We don't know what you actually did and how your replica is similar or dissimilar to the public example.

You have received error messages. Without knowing your questionnaire it's anybody's guess what they are and how to fix them. However, in the context of your questionnaire that you are seeing on the screen in front of you, it should make perfect sense.

Broadly: a syntax error means that you wrote an expression that the program can't understand.

View in conversation


Up 0 rated Down
Sergiy Radyakin Jan 08, 2018 10:36AM EST
Nothing is wrong with it. It IS displaying the selected person.
Up 0 rated Down
Tom Jan 09, 2018 01:46AM EST
Sergiy
I have tried to replicate it in my survey. I got the below errors

[WB0027]:Expression has a syntax error for variables numEligible and randomRowCode specifically - 'Unexpected character $' and The name 'criteria' does not exist in the current context'.


Up 0 rated Down
Sergiy Radyakin Best Answer Jan 09, 2018 01:08PM EST
Tom, you have started with the statement that a public questionnaire dedicated as an example of random selection is not displaying the selected person. Upon checking we find that the example is perfectly fine and working.

You clarify that the problem is not with the public example, but with your questionnaire in which you "tried to replicate" this approach. We don't know what you actually did and how your replica is similar or dissimilar to the public example.

You have received error messages. Without knowing your questionnaire it's anybody's guess what they are and how to fix them. However, in the context of your questionnaire that you are seeing on the screen in front of you, it should make perfect sense.

Broadly: a syntax error means that you wrote an expression that the program can't understand.

This question has received the maximum number of answers.

support@mysurvey.solutions
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=12728