You appear to be a bot. Output may be restricted
Description
Create a text input field
Usage
textfield( $name, $len, $text, $value, $class, $extras, $args );
Parameters
- $name
- ( string ) required – the field name e.g. myfield
- $len
- ( integer ) required – field length
- $text
- ( string ) required – the label text
- $value
- ( string ) required – the field value… it doesn't have to be escaped
- $class
- ( string ) optional – CSS classes to apply
- $extras
- ( string ) optional – extra attributes which aren't supported by $args
- $args
- ( array ) optional – Additional parameters for the field
Returns
voidTO DO
Confirm this is used Create a text field with a label formatted as two columns using tablerowSource
File name: oik-bwtrace/libs/bobbforms.phpLines:
1 to 6 of 6
function textfield( $name, $len, $text, $value, $class=null, $extras=null, $args=null ) { $lab = label( $name, $text ); $itext = itext( $name, $len, $value, $class, $extras, $args ); tablerow( $lab, $itext ); return; }View on GitHub View on Trac