InputfieldInteger class

Integer Inputfield

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the InputfieldInteger class also inherits all the methods and properties of: Inputfield, WireData and Wire.

Show class?     Show args?       Only hookable?    

Properties

NameReturnSummary 
InputfieldInteger::defaultValue int float string Initial/default value (when used with FieldtypeInteger)
DEFAULT: ''
 
InputfieldInteger::initValue int float Initial/default value (when used as independent Inputfield)
DEFAULT: ''
 
InputfieldInteger::inputType string Input type to use, one of "text" or "number"
DEFAULT: text
 
InputfieldInteger::max int float Maximum allowed value
DEFAULT: ''
 
InputfieldInteger::min int float Minimum allowed value
DEFAULT: ''
 
InputfieldInteger::placeholder string Placeholder attribute value
DEFAULT: ''
 
InputfieldInteger::size int Size attribute value
DEFAULT: 10
 
InputfieldInteger::step int float string HTML5 step attribute value
DEFAULT: ''
 

Additional methods and properties

In addition to the methods and properties above, InputfieldInteger also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251