Question forms helps you create a set of questions with several answers along with number of points that every answer is valuable of. Results of a specific test can be sent via -email. Every question can be edited or deleted.
On the index page you can view an example of the script usage:



Examples - last 14 questions forms (see all »)

« DOWNLOAD » this script

Name Change/Save Change/Save Show sample Show sample Delete
Scam change classical » change using jquery » Classical » Step by step » delete »
Geografie change classical » change using jquery » Classical » Step by step » delete »
Geografie change classical » change using jquery » Classical » Step by step » delete »
yasknn change classical » change using jquery » Classical » Step by step » delete »
Mark change classical » change using jquery » Classical » Step by step » delete »
Mark change classical » change using jquery » Classical » Step by step » delete »
Mark change classical » change using jquery » Classical » Step by step » delete »
csxkdkvhh change classical » change using jquery » Classical » Step by step » delete »
personality change classical » change using jquery » Classical » Step by step » delete »
tres change classical » change using jquery » Classical » Step by step » delete »


The above table can be used if the concept of you web site requires a larger number of questionnaires. Of course, you can edit the table to get a specific appearance.

The script itself enables creating of new quesitons and answers in two ways:
  1. Classic way, by using PHP ( New QUESTIONS classical save link)
  2. Using jQuery  ( New QUESTIONS jquery save ) as a quicker way
Also, editing of the entered forms can be done on two ways: PHP only (change classical), and with jQuery (change using jQuery).

Requirements:  PHP, MySQL, Javascript (JQuery) 



Implementation:  
  • Create database and import  question_forms.sql
  • Include config.php and set database login info in it.
  • Include JQuery library (from an external server or directly from your local server)  javascript/jquery-1.8.2.min.js
  • Include file javascript/javascript.js (This script includes javascript functions needed by different parts of the Questinaire script)
  • Copy forms (<form></form>) to files of your site from a specific files bellow:
    - new_questions.php (contains a form for classic input)
    - new_questions_jquery_save.php (contains a form for input using jQuery)
    - edit_questions.php (contains a form for classic edit of questions)
    - edit_questions_jquery.php (contains a form for for edit of questions using jQuery
    - show_sample.php (contains a form for display of answers at once)
    - show_sample_step.php (contains a form for display of answers one by one, step by step)
Appearance of the script forms can be set by including  css/style.css  file.

You can display forms, with questions and answers in two ways:
  1. Display of all questions, with answers, at once
  2. Display of every question, with answers, separately, step by step


For transition between questions the script uses jQuery.

You can manipulate border-radius in newer browsers by CSS directly (IE9 and newer). If you want to border-radius to be active in older versions of IE, you need to include   javascript/PIE.js  included in this script archive.

« DOWNLOAD » this script