How should we design a psychological testing program?

Source: Internet
Author: User
How should we design a psychological testing program? I recently learned php object-oriented development. I am a beginner. don't laugh. I want to develop a psychological test interface. the type of psychological test question is jump-type. As follows:
1. are you in a very good health condition and are you able to withstand intense exercise or overwork?
? Yes ?? 2
? No ?? 4

2. can you handle conflicts with others in your team without affecting your work efficiency?
? Yes ?? 5
? No ?? 3
......
23. Is your interpersonal relationship good?
? Yes ?? A
? No ?? B

24. will you make an attractive but risky investment?
? Yes ?? C
? No ?? D

How to design a program in this way?


Reply to discussion (solution)

Js judges p show or hide.

Upstairs
Use js to obtain user results and determine the problem to be displayed for the next question

Assign a weight to each question in the form.

Assign a weight to each question in the form.
Can I give a specific example? Thank you!

You can add conditions for an option. for example, if you select 1, you only need to perform 24, 25, without, then you can use js to control whether to display, 23, or 24, 25.
For example, if the p value of #1 is used, or an id is directly added to a row in the table, the getElementById can also be used.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.