Buy Now
Sign in

yes/no test with chrono

cenzor , February 04 2012
c
cenzor

Hi All,

I want to do a yes/no test, just dont know how to get started. oops 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

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

c
cenzor

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

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

c
cenzor

Hi GreyHead!

It will be more difficult than I thought. Thx for all advices!