Extension:DynamicForms

Purpose
Mediawiki doesn’t have a form generator. It has updating the content through raw data but not through forms. This extension helps to bridge that gap through forms. Dynamic Forms is an extension to MediaWiki that allows users to create survey forms, registration forms and all kinds of forms. This extension allows you to have forms for adding, editing and querying data on your wiki, without any programming. Forms can be created and edited not just by administrators, but by users themselves.Generating forms by taking a text file as an input.

Usage
The main components of this extensions are form definition pages, which exist in a new namespace,  'Form:' and text file. Text file will contain questions or field names and certain syntax to be converted into text fields, text areas and check boxes required for the form. In the Form special page, you can browse and add a text file. This text file will be converted into a form and it will be stored in the database.

This project is helpful to EnhanceEdu lab and possibly to the whole Mediawiki community replacing the google forms and developing separate forms for every survey or registration with Mediawiki forms.

Step 1:
Download the code for Dynamic forms from the following link:

http://enhanceedu.iiit.ac.in/wiki/images/DynamicForms.zip

Extract the zip file and copy that directory in extensions folder.

Step 2:
You should create the following tables into your wiki database

Step 3:
In the file LocalSettings.php in the main MediaWiki directory, add the following lines
 * 1) require_once( "$IP/extensions/DynamicForms/ListOfDynamicForms.php" );
 * 2) require_once( "$IP/extensions/DynamicForms/DynamicForms.php" );
 * 3) require_once( "$IP/extensions/DynamicForms/NewForms.php" );
 * 4) require_once( "$IP/extensions/DynamicForms/Displayplugin.php" );
 * 5) require_once( "$IP/extensions/DynamicForms/Showplugin.php" );
 * 6) require_once( "$IP/extensions/DynamicForms/Answerdisplayplugin.php" );
 * 7) require_once( "$IP/extensions/DynamicForms/Finalplugin.php" );
 * 8) require_once( "$IP/extensions/DynamicForms/Removeplugin.php" );
 * 9) require_once( "$IP/extensions/DynamicForms/Uanswerdisplayplugin.php" );