Login   Register  
PHP Classes
elePHPant
Icontem

Forms: Class for generating forms

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-01-13 (11 years ago) RSS 2.0 feedStarStarStar 51%Total: 2,690 All time: 1,291 This week: 1,005Up
Version License Categories  
forms 1.0GNU Lesser General Publ...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: 40
All time rank: 486 in Germany Germany
Week rank: 305 Down9 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,690All time:1,291
 This week:0This week:1,005Up
User Ratings User Comments (1)  
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1483
 
Nice work love it thanks
4 years ago (christian)
67%StarStarStarStar