What app can help create a point-based quiz with grouped questions?

What app can help create a point-based quiz with grouped questions?

seymur_crsp
Shopify Partner
67 4 10

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!

Replies 4 (4)

Geist
Shopify Partner
79 7 8

Have you considered using data attributes?

- Shopify Headless Ecommerce Experts
- Site speed optimization
- Composable Commerce
Geist - Headless Shopify Ecommerce Expert
seymur_crsp
Shopify Partner
67 4 10

Sorry, data attributes for what ?

Geist
Shopify Partner
79 7 8

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.

- Shopify Headless Ecommerce Experts
- Site speed optimization
- Composable Commerce
Geist - Headless Shopify Ecommerce Expert
seymur_crsp
Shopify Partner
67 4 10

Sure, but what I want is using an existing app that offers that options. So far, I couldn't find such an app.