How to create score in Score Quiz with values between multiple ranges

1 year 8 months ago #1 by Philip
I created a Score Quiz that adds up scores per question
The result is depending on ranges, for example

Rating Schedule:
Score of < 12 : probably not a Star Kid
Score of 12-16 : probably a Star Kid
Score of 16-20 : most likely a Star Kid
Score of > 20 : absolutely a Star Kid

I created in Texts after Quiz :

[score < 12]Your score is less than 12 points, so there is a minimum chance you are a Star Child[/score]
[score >= 12 && score < 16]Your score is between 12 and 16 points, so you might very well be a Star Child[/score]
[score >= 16 && score < 20]Your score is between 16 and 20 points, so you are most likely a Star Child[/score]
[score >= 20]Your score is over 20 points, so you are absolutely a Star Child[/score]

This does not seem to work for the email / text on screen that is created looks like (in this case the score = 23)

Conclusion
Your score is between 12 and 16 points, so you might very well be a Star Child
Your score is between 16 and 20 points, so you are most likely a Star Child
Your score is over 20 points, so you are absolutely a Star Child

So my question is, how can I solve this ?
Kindly hear from you

Philip

Please Log in or Create an account to join the conversation.

1 year 8 months ago #2 by Christopher Mavros
Hello Philip and thank you for posting!

I am out of office, so please forgive my short answer.

The correct way to write it is the following:

[score < 12]Your score is less than 12 points, so there is a minimum chance you are a Star Child[/score]
[score > 11][score < 16]Your score is between 12 and 15 points, so you might very well be a Star Child[/score][/score]
[score > 15][score < 20]Your score is between 16 and 19 points, so you are most likely a Star Child[/score][/score]
[score > 19]Your score is over 20 points, so you are absolutely a Star Child[/score]

Please let me know if you have any further questions!
Thanks again.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

1 year 8 months ago #3 by Philip
Thank you Christopher, it works !!!!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros