Streaming live at 10am (PST)

Calculating mode value using Javascript

Hi All,

I’m looking to design a simple personality quiz where participants can find out their leadership style based on the answers they gave in the quiz.

So basically I need to write custom code to calculate the mode answer (i.e the category that has been selected most) from the set of questions on a form. 15 questions, each with 4 possible answers to select.

Now, the calculation that needs to happen is quite simple but I have absolutely no idea how to achieve it using javascript or j-query.

Any advice/help will be greatly appreciated.

Thanks a million!

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

You probably should be posting to the freelance category if you want someone to write your custom code for you.