Login   Register  
PHP Classes
elePHPant
Icontem

X2Form: Show and validate HTML forms defined in XML files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 232 All time: 6,982 This week: 1,473Up
Version License PHP version Categories  
x2form 1.0.2Custom (specified in a ...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: 3 packages by
Country: India India
Age: 33
All time rank: 1865113 in India India
Week rank: 1779 Up135 in India India Down

  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.
Accessible without login Plain text file quidich_form.xml Data XML definition of a sample form for Example1.php
Accessible without login Plain text file quidich_form_populated.xml Data XML definition of a prepopulate sample form for Example1_populate.php
Accessible without login 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
Accessible without login Plain text file license.txt Lic. Package License
Accessible without login HTML file Manual.html Data Documentation
Accessible without login Plain text file style.css Data CSS stylesheet for the Forms in examples

 Version Control Unique User Downloads Download Rankings  
 0%Total:232All time:6,982
 This week:0This week:1,473Up