Complex PHP Form Design and Generator: Display and process complex HTML forms HTML forms

Recommend this page to a friend!
  Info   View files Example   View files View files (142)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-06-04 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 171 This week: 1All time: 8,683 This week: 174Up
Version License PHP version Categories
complexformgenerator 1.0.3GNU General Publi...7HTML, PHP 5, Validation
Description Author

This package can display and process complex HTML forms.

It can compose HTML-based forms by adding inputs to the form definition and layout elements that define how to render the form.

The package can load the definition of the form from an XML file.

It can also load and execute a given PHP script to process the form after it is submitted.

Picture of Stefan Kientzler
  Performance   Level  
Name: Stefan Kientzler <contact>
Classes: 16 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 9x

Winner: 6x

Details

Create complex HTML forms

State License Donate Minimum PHP Version Scrutinizer Code Quality

Overview

This package can be used to create complex input forms. Multiple input fields can be arranged in rows or in several columns.

In addition to the 'usual' form elements, the package contains an element for entering color values and a range element to which a label can be assigned, in which the current selection of the slider is automatically displayed.

Additionaly the package contains JavaScript-based pickers for - date fields - time fields - color fields

and integrated JS validation of - date values - time values - numerical values (integer, floating point and currency fields).

The input formats can be configured to meet country-specific requirements. The design can be completely adapted to your own needs using an individual stylesheet.

The form definition can be made directly in the PHP code or within a XML file (for this purposes a XSD schema is provided with the package to make it easy to check the validation of the XML definition).

The package also contains an element that can be used to integrate the WYSIWYG editor 'CKEditor 4' into a form. The complete configuration is done from the PHP side. A connector to the open source file manager 'RichFilemanager' is included for selecting graphics or to create links to other files on the server.

Documentation

As this package supplies a wide range of functionality that can be configured individual, the documentation is splitted into multiple parts:

  1. The configuration of the package
  2. Quickstart with a simple example form
  3. ... to be continued

In the example directory you will find sample forms that show the use of all supported elements and currently provides two different themes.

  Files folder image Files  
File Role Description
Files folder imagedoc (9 files)
Files folder imageexamples (11 files, 4 directories)
Files folder imagescript (9 files)
Files folder imageSKien (3 directories)
Accessible without login Plain text file autoloader.php Aux. Auxiliary script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  doc  
File Role Description
  Accessible without login Plain text file BasicFormstructure.svg Data Auxiliary data
  Accessible without login Plain text file FG-config.md Data Auxiliary data
  Accessible without login Plain text file FG-quickstart.md Data Auxiliary data
  Accessible without login Plain text file Formgenerator.svg Data Auxiliary data
  Accessible without login Plain text file FormgeneratorClassdiagram.pdf Data Auxiliary data
  Accessible without login Image file FormgeneratorClassdiagram.png Data Auxiliary data
  Accessible without login Image file QuickStartMSO.png Icon Icon image
  Accessible without login Image file QuickStartSKien.png Icon Icon image
  Accessible without login Image file QuickStartStructure.png Icon Icon image

  Files folder image Files  /  examples  
File Role Description
Files folder imageimages (2 files)
Files folder imageMSO-Theme (10 files)
Files folder imagepublic (1 directory)
Files folder imagexml (4 files)
  Accessible without login Plain text file CKEditorForm.php Example Example script
  Accessible without login Plain text file ColumnForm.php Example Example script
  Accessible without login Plain text file ColumnFormXML.php Example Example script
  Accessible without login Plain text file formaction.php Aux. Auxiliary script
  Accessible without login Plain text file FormGenerator.css Data Auxiliary data
  Accessible without login Plain text file FormGenerator.json Data Auxiliary data
  Accessible without login Plain text file QuickStart.php Example Example script
  Accessible without login Plain text file QuickStartXML.php Example Example script
  Accessible without login Plain text file SimpleForm.php Example Example script
  Accessible without login Plain text file SimpleFormXML.php Example Example script
  Accessible without login Plain text file TextAreaForm.php Example Example script

  Files folder image Files  /  examples  /  images  
File Role Description
  Accessible without login Image file info.png Icon Icon image
  Accessible without login Image file window_close.png Icon Icon image

  Files folder image Files  /  examples  /  MSO-Theme  
File Role Description
  Accessible without login Image file browse.png Icon Icon image
  Accessible without login Image file datepicker.png Icon Icon image
  Accessible without login Image file delete.png Icon Icon image
  Accessible without login Plain text file FormGenerator.css Data Auxiliary data
  Accessible without login Plain text file FormGenerator.json Data Auxiliary data
  Accessible without login Image file info.png Icon Icon image
  Accessible without login Image file insert_dtu.png Icon Icon image
  Accessible without login Image file search.png Icon Icon image
  Accessible without login Image file timepicker.png Icon Icon image
  Accessible without login Image file window_close.png Icon Icon image

  Files folder image Files  /  examples  /  public  
File Role Description
Files folder imageimages (3 files)

  Files folder image Files  /  examples  /  public  /  images  
File Role Description
  Accessible without login Image file contact_empty.png Icon Icon image
  Accessible without login Image file sample1.jpg Icon Icon image
  Accessible without login Image file sample2.png Icon Icon image

  Files folder image Files  /  examples  /  xml  
File Role Description
  Accessible without login Plain text file ColumnForm.xml Data Auxiliary data
  Accessible without login Plain text file FormGenerator.xsd Data Auxiliary data
  Accessible without login Plain text file QuickStart.xml Data Auxiliary data
  Accessible without login Plain text file SimpleForm.xml Data Auxiliary data

  Files folder image Files  /  script  
File Role Description
  Accessible without login Plain text file dtsel-LICENSE Lic. License text
  Accessible without login Plain text file dtsel.js Data Auxiliary data
  Accessible without login Plain text file FormCKEdit.js Data Auxiliary data
  Accessible without login Plain text file FormDataValidator.js Data Auxiliary data
  Accessible without login Plain text file FormGenerator.js Data Auxiliary data
  Accessible without login Plain text file FormPicker.js Data Auxiliary data
  Accessible without login Plain text file jscolor.js Data Auxiliary data
  Accessible without login Plain text file jscolor.min.js Data Auxiliary data
  Accessible without login Plain text file RichFmConnector.js Data Auxiliary data

  Files folder image Files  /  SKien  
File Role Description
Files folder imageConfig (4 files)
Files folder imageFormgenerator (34 files, 1 directory)
Files folder imageTest (1 directory)

  Files folder image Files  /  SKien  /  Config  
File Role Description
  Plain text file AbstractConfig.php Class Class source
  Plain text file ConfigInterface.php Class Class source
  Plain text file JSONConfig.php Class Class source
  Plain text file NullConfig.php Class Class source

  Files folder image Files  /  SKien  /  Formgenerator  
File Role Description
Files folder imageStdImages (6 files)
  Plain text file AbstractFormData.php Class Class source
  Plain text file ArrayFormData.php Class Class source
  Plain text file FormButton.php Class Class source
  Plain text file FormButtonBox.php Class Class source
  Plain text file FormCanvas.php Class Class source
  Plain text file FormCheck.php Class Class source
  Plain text file FormCKEdit.php Class Class source
  Plain text file FormCollection.php Class Class source
  Plain text file FormColor.php Class Class source
  Plain text file FormCur.php Class Class source
  Plain text file FormDataInterface.php Class Class source
  Plain text file FormDate.php Class Class source
  Plain text file FormDiv.php Class Class source
  Plain text file FormElement.php Class Class source
  Plain text file FormElementInterface.php Class Class source
  Plain text file FormFieldSet.php Class Class source
  Plain text file FormFlags.php Class Class source
  Plain text file FormFloat.php Class Class source
  Plain text file FormGenerator.php Class Class source
  Plain text file FormHeader.php Class Class source
  Plain text file FormImage.php Class Class source
  Plain text file FormInput.php Class Class source
  Plain text file FormInt.php Class Class source
  Plain text file FormLine.php Class Class source
  Plain text file FormRadioGroup.php Class Class source
  Plain text file FormRange.php Class Class source
  Plain text file FormScript.php Class Class source
  Plain text file FormSelect.php Class Class source
  Plain text file FormStatic.php Class Class source
  Plain text file FormTextArea.php Class Class source
  Plain text file FormTime.php Class Class source
  Plain text file NullFormData.php Class Class source
  Plain text file XMLForm.php Class Class source
  Plain text file XMLHelper.php Class Class source

  Files folder image Files  /  SKien  /  Formgenerator  /  StdImages  
File Role Description
  Accessible without login Image file browse.png Icon Icon image
  Accessible without login Image file datepicker.png Icon Icon image
  Accessible without login Image file delete.png Icon Icon image
  Accessible without login Image file insert_dtu.png Icon Icon image
  Accessible without login Image file search.png Icon Icon image
  Accessible without login Image file timepicker.png Icon Icon image

  Files folder image Files  /  SKien  /  Test  
File Role Description
Files folder imageFormgenerator (28 files, 1 directory)

  Files folder image Files  /  SKien  /  Test  /  Formgenerator  
File Role Description
Files folder imagetestdata (17 files)
  Plain text file ArrayFormDataTest.php Class Class source
  Plain text file FormBaseTestCase.php Class Class source
  Plain text file FormButtonBoxTest.php Class Class source
  Plain text file FormButtonTest.php Class Class source
  Plain text file FormCanvasTest.php Class Class source
  Plain text file FormCheckTest.php Class Class source
  Plain text file FormCKEditTest.php Class Class source
  Plain text file FormColorTest.php Class Class source
  Plain text file FormCurTest.php Class Class source
  Plain text file FormDateTest.php Class Class source
  Plain text file FormDivTest.php Class Class source
  Plain text file FormFieldSetTest.php Class Class source
  Plain text file FormFloatTest.php Class Class source
  Plain text file FormgeneratorHelper.php Class Class source
  Plain text file FormgeneratorTest.php Class Class source
  Plain text file FormHeaderTest.php Class Class source
  Plain text file FormImageTest.php Class Class source
  Plain text file FormInputTest.php Class Class source
  Plain text file FormIntTest.php Class Class source
  Plain text file FormLineTest.php Class Class source
  Plain text file FormRadioGroupTest.php Class Class source
  Plain text file FormRangeTest.php Class Class source
  Plain text file FormScriptTest.php Class Class source
  Plain text file FormSelectTest.php Class Class source
  Plain text file FormStaticTest.php Class Class source
  Plain text file FormTextAreaTest.php Class Class source
  Plain text file FormTimeTest.php Class Class source
  Plain text file XMLFormTest.php Class Class source

  Files folder image Files  /  SKien  /  Test  /  Formgenerator  /  testdata  
File Role Description
  Accessible without login Plain text file AllElements.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorFormGenerator.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorUnknownButton.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorUnknownDivAlign.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorUnknownElement.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorUnknownFieldSetType.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorUnknownFlag.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorWithSchema.xml Data Auxiliary data
  Accessible without login Plain text file FormErrorXML.xml Data Auxiliary data
  Accessible without login Plain text file FormGenerator.xsd Data Auxiliary data
  Accessible without login Plain text file FormGeneratorDE.json Data Auxiliary data
  Accessible without login Plain text file FormGeneratorSpecial.json Data Auxiliary data
  Accessible without login Plain text file FormInput.xml Data Auxiliary data
  Accessible without login Plain text file FormLine.xml Data Auxiliary data
  Accessible without login Plain text file FormMissing.xml Data Auxiliary data
  Accessible without login Plain text file FormRootMissing.xml Data Auxiliary data
  Accessible without login Plain text file FormWithSchema.xml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:171
This week:1
All time:8,683
This week:174Up
User Comments (1)
Works as documented.
3 months ago (Rick Ruggiero)
72%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.