-
- 670 Posts
Hi There,
I need to run a small competition and I have 10 questions, with three multiple choice answers for each.
I assume I could do it all with formit, but I need a way to store all the entries, and also add a score, so that I can find the winner - so I'm thinking of adding a value of 1 for the correct answer in the multiple choice radio button, and a 0 for the wrong answers. Then at the end it produces a total score value.
Just not quite sure where to start!
Any suggestions?
Thanks
Andy
-
- 932 Posts
There are severals way you could do it but take a look at this:
https://stackoverflow.com/questions/42232138/jquery-quiz-scoring-function
You could then also create a migxdb to collect the scores and submissions and write a hook to save to the migxdb and then use that to return a list of high scores from users.
-
- 932 Posts
-
- 1,145 Posts
Do you need it to be fully integrated with your MODX or will 3rd party just suffice?
TinymceWrapper: Complete back/frontend content solution.
Harden your MODX site by
passwording your three main folders:
core, manager, connectors and renaming your
assets (thank me later!)
5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.