App reviews, troubleshooting, and recommendations
Hello. I need to build a quiz where I want two things:
1. I want to be able to assign points/values to the answer. For example, let's say question says: "Which fruit do you like?" and the answers are: "Apple, Banana, Orange". I want the app to return me not the answer itself, but the value I attached to it. So for example, if I attached 1 to Apple, 2 to Banana and 3 to Orange, and if customer selected Banana, I want to get 2 as the answer to that question.
2. I want to group questions (but not visibly). For example, I want customer to see 7 sequential questions, but under the hood I want the first 3 questions to be under one group, then following 2 questions to be in another group, and remaining questions to be single.
I'm a developer so I can build such app myself, so please don't offer to build an app. I just want an existing one if there is. Thanks!
Have you considered using data attributes?
Sorry, data attributes for what ?
If you are building a quiz app and you have some answers like orange, apple, bannana, in your code maybe writing something like this:
<div>
<div class="answers" data-points=1>Apple</div>
<div class="answers" data-points=2>Banana</div>
<div class="answers" data-points=3>Orange</div>
</div>
Then you would get these values based on the answer selected with the javascript dataset property.
Sure, but what I want is using an existing app that offers that options. So far, I couldn't find such an app.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025