UmbracoDocs icon indicating copy to clipboard operation
UmbracoDocs copied to clipboard

Tutorial: Create a quiz form

Open bjarnef opened this issue 2 years ago • 9 comments

What type of issue is it? (Choose one - delete the others)

Other (tutorial)

What article/section is this about?

(link here)

Describe the issue

Currently I am working on a Umbraco project using a quiz form, which has been made in custom form. Another client has also has a request for a quiz form although a bit more advanced, where they want a few tags/keywords on each answer in each question, so summarized it weights at score and on a result page it could list most relavant pages in this case education pages. I imagine each education page would have tags/keywords as well. This can be done using third party tools, but would be a useful use-case with Umbraco Forms as well. The simple example would be a great start though.

It would be great to add the simple tutorial how to create a quiz form using Umbraco Forms (if possible) , e.g. something like this https://support.google.com/a/users/answer/9310255?hl=en

It could be a simple form in steps (paged) and correct or wrong answer. Finally a page to see a message and eventually a result. (similar to tests in Umbraco training).

It could also be more advanced to grade each question/answer like in the Google Forms example, but I think a correct/wrong answer would be the simplest answer.

bjarnef avatar Sep 09 '22 18:09 bjarnef

Thanks for the suggestion, @bjarnef 🙌 We will definitely add this to our docs soon 😃

eshanrnh avatar Sep 12 '22 07:09 eshanrnh

Hi @bjarnef !

It's been quite a while since there has been any activity on this one. The task of adding a how-to or tutorial for using Umbraco Forms to create a quiz, is indeed added to our task board.

As an addition, let's add a few more labels to this Issue, to highlight for community contributions as well 😄

sofietoft avatar Aug 03 '23 09:08 sofietoft

Hi, Are you needing a tutorial to show how to use conditional fields, jump to different pages depending on answers etc? I could have a look in to creating this if this is what you are needing?

OwainWilliams avatar Oct 05 '23 11:10 OwainWilliams

HI @OwainWilliams, reading the description created by Bjarne it does sound quite similar to "a tutorial to show how to use conditional fields, jump to different pages depending on answers etc". 👍

You are most welcome to give it a try and create a PR for this 😊 (and to keep the forms documentation consistent the same example will need to be on all versions of forms)

alina-tincas avatar Oct 06 '23 07:10 alina-tincas

I'll see if I get some time over the weekend to make a start on this.

OwainWilliams avatar Oct 06 '23 07:10 OwainWilliams

Not sure if it would be conditional fields (as the concept with known in Forms to toggle fields). The use-case we had was to create a paged step on questions, e.g. 10 questions. For each question there could be one or more correct answers. If only one correct option the options would of course use a radiobutton list. And then finally a calculation of the number / percentage of correct answers. A bit similar to the Umbraco Training forms. Ideally a way to list summary if correct/wrong answers at summary page would be great.

bjarnef avatar Oct 06 '23 07:10 bjarnef

As I understand from your original message in the issue, you mention "It would be great to add the simple tutorial how to create a quiz form using Umbraco Forms (if possible) , e.g. something like this https://support.google.com/a/users/answer/9310255?hl=en" which is actually Google Forms.

That is a good use-case scenario @bjarnef, however, we are up for any examples in our documentation so if anyone is up for contributing with some examples, they are more than welcome to go for it. It can even be a simple example. 🙌

alina-tincas avatar Oct 12 '23 13:10 alina-tincas

Maybe @AndyButland has some thoughts about this or if some features are missing in Umbraco Forms,

E.g. the "Grade question-by-question" https://support.google.com/docs/answer/7032287?hl=en&visit_id=638327160097853296-3197259397&rd=1#zippy=%2Cgrade-question-by-question

To award points for a group of answers: Full points: Click Mark correct Mark correct ✔. Partial points: Enter the number of points you want to award. No points: Click Mark incorrect Mark incorrect ❌.

The summary page could probably be done linking to a page (or the page ifself) with form guid + record guid in querystring and list the submitted fields.

bjarnef avatar Oct 12 '23 14:10 bjarnef

I've not had a chance to look at this unfortunately. I've a hacktoberfest meetup tonight so hopefully get a chance to start something. Even a simple example.

OwainWilliams avatar Oct 24 '23 08:10 OwainWilliams