Forums

yes/no test with chrono

cenzor 04 Feb, 2012
Hi All,

I want to do a yes/no test, just dont know how to get started. ๐Ÿ˜ถ I'm new in chrono's world.

I found an example, here it is: http://www.personalitytest.net/quizzes/quiz2/index.htm

I guess that the questions can be done by the "Select Box" element. But I have no idea, how to get the results with the "Submit Button".

someone can help me?
GreyHead 04 Feb, 2012
Hi cenzor,

A radio button group is the best way of doing this in my opinion, they are much clearer than drop-downs. (Though Max, the ChronoForms developer, prefers yes/no drop-downs.) Either will work.

Bob
cenzor 06 Feb, 2012
Hi GreyHead!

Thx for the advice, the "Radio Box" much better. Now I've got the bigger problem. The test includes a simple scoring system. The right answer is worth 1 point, the wrong answer is worth 0 point. Where these values โ€‹โ€‹must be provided? There's a rating based of the total value of points. Like, 0-4: smile more; 5-9: enough smile for a day; 10-14: u're a funny guy! Where these ratings must be provided?

cenzor
GreyHead 06 Feb, 2012
Hi cenzor,

That's up to you - it's part of your form design. You can either write JavaScript to do the scoring in the browser immediately the questions are answered; or you can write PHP using a Custom Code action after the form is submitted (or both).

Bob
cenzor 06 Feb, 2012
Hi GreyHead!

It will be more difficult than I thought. Thx for all advices!
This topic is locked and no more replies can be posted.