PHP Classes

X2Form: Show and validate HTML forms defined in XML files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-11-03 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 242 All time: 7,195 This week: 1,199Up
Version License PHP version Categories  
x2form 1.0.2Custom (specified...5.2.2HTML, XML, PHP 5, Databases, Validation
Description Author  

This package can display and validate HTML forms defined in XML files.

It can add the definitions of a form with specific calls to the main forms class or it can parse a given XML file with the definitions of the elements of a form.

The parameter values of some types of form elements can be retrieved from a MySQL database.

The forms class can call a form elements class that is responsible for rendering the individual form elements.

The form output layout can be defined using separate HTML template files.

The main forms class can also change the default values of the inputs, as well perform validation of the submitted form input values.

It can also process uploaded files moving them to a destination directory eventually overwriting previously uploaded files.

Picture of sameer shelavale
Name: sameer shelavale <contact>
Classes: 4 packages by
Country: India India
Age: 34
All time rank: 170099 in India India
Week rank: 2 Up1 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file X2Form.php Class X2Form is a PHP class for generating HTML forms from XML as well as with PHP function calls.
Plain text file X2FormElement.php Class X2FormElement is used by X2Form for generating different HTML form elements.
Plain text file class.dbhelper.php Class This class is used for runing queries in different PHP frameworks
Plain text file class.logger.php Class Logger class is used for logging errors to screen or text file, It can also used in webservices to return structured results.
Plain text file quidich_form.xml Data XML definition of a sample form for Example1.php
Plain text file quidich_form_populated.xml Data XML definition of a prepopulate sample form for Example1_populate.php
Plain text file sample_template.html Data a template file to customize the Quidich form in example1_with_template.php
Accessible without login Plain text file example1.php Example Generating a basic HTML form using XML & PHP
Accessible without login Plain text file example1_populate.php Example Populating the form in Example1 with XML as well as with PHP
Accessible without login Plain text file example1_process.php Example Processing and validating the Quidich form in Example1
Accessible without login Plain text file example1_without_xml.php Example Creating the Quidich Form in Example 1 without using XML(with only PHP calls)
Accessible without login Plain text file example1_with_template.php Example customizing the layout of Quidich Form in Example1
Plain text file license.txt Lic. Package License
Accessible without login HTML file Manual.html Data Documentation
Plain text file style.css Data CSS stylesheet for the Forms in examples

 Version Control Unique User Downloads Download Rankings  
 0%Total:242All time:7,195
 This week:0This week:1,199Up