Enkiti
We needed a tool to make a questionnaire for school. I couldn't find a good open source one so I made one. It's not really finished, only the front office, it doesn't have an admin interface. So don't expect much of it. But it'll do the job for you.
Requirements
Webserver with PHP and MySQL support. PhpMyAdmin would be handy to insert and administer the question.
Features
- database driven, you can change add/alter questions in the db
- 3 types of questions are possible : Open questions, Radiobox options (only one possible), Checkbox options (multiple options possible)
- Skip a few questions looking at the answer. F.e. if he answers "no" on question 4 he'll go directly to question 8.
- Put an answer into a session and use it in the next questions by putting "**" in the question field in the db.
- View the results on a webpage, export the results to excel
- View the questions
- Make a question obligated to answer
- Progress bar
- Easy to change the value of the submit button
- Upload all the files to your server
- Run the enkiti.sql files in your database, so our tables are made.
- Open up config.php
- Change your database configuration
- Change the number of questions your questionnaire will be.
- Change the admin login & pass
- Go to the database table enk_questions and add the questions.
- ID: Just a unique key
- Intro_txt: An intro txt, will only be visible if not empty
- Question: The question, if a session is set in an earlier question you can use "**" and it will be changed by the session that is set.
- Question_nr: This is the arrangement of the question, question 1 will become before 2, logic é !
- Sumbit_txt: The value of you submit button specifically for that question.
- Type: open - gives a text area for entering the answer , option - gives you a radiobox, only one answer possible , m_option - checkbox, multiple options possible .
- Skip_to: if the value of the answer = skip_if skip to the this question number.
- Skip_if: If the answer on this question is yes, skip_to question 5.
- Take_session: if this is set to 1, he keeps the answer in a session, so you can use it in next questions as "**".
- Check: validate if an answer is set.
- Option_nr: the number of options you've set
- option0 -> option15: put the different answer options here
- view.php : view the answers a session in a table -> export to excel
- questions.php : view the questions that are in the db


9 Comments
I used it for a website for my girlfriends' school. Check http://cmdstud.khlim.be/~hdhulster/votac/
System works fine, style is easy to learn, just very nice!
But I didn't understand what to do with the "skip_to", "skip_if" thingies. Please help me.
One improvement for future versions of this tool could be the possibility of a "other" field in the question. a bullet or a checkbox with an input field linked.
Great shit!
Hannes
the skipto and skipif are by default for nothing. Only if you put something to the skipif field it will work. F.e. if a question answer is "no" (=skipif value) the user will jump to question (10=skipto value) because the questions he skipped are irrelevant to him because he anwered "no".
Euhm :) ok ?
wij stellen ons de vraag: "Heeft internet invloed op het sociale gedrag van de mens?". Dit wordt onderzocht in verschillende leeftijdsgroepen. Dat is voor marketing van Jan-Louis. Als je iets met donze informatie zou zijn voor je thesis moet je het maar laten weten.
groeten
Leave a Comment