PHP Classes

Forms: Class for generating forms

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 2,717 This week: 1All time: 1,396 This week: 560Up
Version License Categories
forms 1.0GNU Lesser Genera...HTML
Description 

Author

Class for generating forms

Utility class to generate form elements


function openForm($action, $method = 'post', $target = '', $fileUpload = false, $charset = '', $additional = '')
function closeForm()
function openFieldset($title, $pre = '')
function closeFieldset()
function hidden($name, $value='')
function checkBox($value, $group='', $selected=false, $additional='')
function checkBoxes($array, $group='', $selectArray, $additional='')
function radioButtons($array, $group='', $selectId=1, $additional = '')
function radioButton($value, $group='', $selected=false, $additional='')
function selectBox($array, $selected=0, $name='', $size=1, $multiple=false, $additional='')
function submitButton($title = '', $new = false, $newContent = '', $additional='')
function resetButton($title = '', $new = false, $newContent = '', $additional='')
function button($title, $name = '', $new = false, $newContent = '', $additional = '')
function textField($value, $name='', $hidden=false, $size =-1, $length =-1, $additional='')
function fileField($name = '', $file = '', $fileSize = 1000000, $size = -1, $accept="text/*", $additional='')
function textArea($value, $name='', $cols=-1, $rows=-1, $wrap='soft' ,$readOnly=false, $additional='')

Picture of L
Name: L <contact>
Classes: 13 packages by
Country: Germany Germany
Age: 49
All time rank: 555 in Germany Germany
Week rank: 416 Down16 in Germany Germany Down

  Files folder image Files  
File Role Description
Plain text file Forms.php Class main class
Accessible without login HTML file testForms.html Output example output
Accessible without login Plain text file testForms.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,717
This week:1
All time:1,396
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2422
 
Nice work love it thanks
13 years ago (christian)
67%StarStarStarStar