Contains one or more fields in a form
Here is an example of creating an 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 In addition to the methods and properties above, Inputfield$form = $modules->get('Inputfield
Inputfield
class also inherits all the methods and properties of: InputfieldWrapper, Inputfield, WireData and Wire.Common
Name Return Summary Inputfield string
Form action attribute (default="./") Inputfield string
Optional markup to append to the form output Inputfield int
Optionally set the column width spacing (pixels) Inputfield string
Confirmation text that precedes list of changes when class Inputfield Inputfield string
Optionally set a description headline for the form string
Get name for this form WireInputData
null
Return WireInputData provided to processInput() method or null if not yet applicable bool
string
Is form submitted and ready to process? Inputfield string
Form method attribute (default="post") Inputfield string
Optional markup to prepend to the form output bool
Process the form InputfieldWrapper
Process input Inputfield bool
Set to false to disable automatic CSRF protection string
Render form (nothing) Hook called before form render or process (3.0.171+) Errors
Name Return Summary array
Return an array of errors that occurred on any of the children during input processing. Additional methods and properties
API reference based on ProcessWire core version 3.0.236