PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2003-01-13 (13 years ago) RSS 2.0 feedStarStarStar 51%Total: 2,712 All time: 1,349 This week: 871Up
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

  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,712
This week:0
All time:1,349
This week:871Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1919
 
Nice work love it thanks
6 years ago (christian)
67%StarStarStarStar