Jump to content

auFormInteger: Difference between revisions

From auWiki
New page: {{RightTOC}} FormInteger Category:Class Category:PHP The auFormInteger class is part of the auLib package. It is defined in the auForm.php file. ;Hierarchy ...
(No difference)

Revision as of 08:25, 1 May 2008

The auFormInteger class is part of the auLib package. It is defined in the auForm.php file.

Hierarchy

Usage

This class is used to add an integer input field to a form. Create an object from this class and add it to an auFormContainer object.

Public Functions

new auFormInteger

new auFormInteger($name, $label, $tooltip, $required, $default, $width, $maxlength)

Creates a new integer input form field.

  • $name = Name to submit the field as.
  • $label = Label to display with the field. Default is blank.
  • $tooltip = Tooltip text to display when the mouse is over the label. Default is none.
  • $required = Whether a value is required in this field. Default is not required.
  • $default = Default value for this field. Default is blank / unchecked.
  • $width = Width of the field in characters. Default is browser default.
  • $maxlength = The maximum number of characters the field can accept. Default is unlimited.