InputfieldForm class
Contains one or more fields in a form
Here is an example of creating an Inputfield Optional classes you can add to the 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 Get name for this form Return WireInputData provided to processInput() method or null if not yet applicable Is form submitted and ready to process? Process the form Process input Render form Return an array of errors that occurred on any of the children during input processing. In addition to the methods and properties above, Inputfield$form = $modules->get('InputfieldInputfield tells it not to worry about lining up all columns vertically.Inputfield indicates that form will be in 2-column label => input format (column widths do not apply).Inputfield tell it to notify user if they make any changes and forgot to submit.Inputfield class also inherits all the methods and properties of: InputfieldWrapper, Inputfield, WireData and Wire.Common
Name Return Summary string WireInputData null bool string boolInputfieldWrapperstringErrors
Name Return Summary array Properties
Name Return Summary Inputfield string Form action attribute
DEFAULT: ./ Inputfield string Optional markup to append to the form output
DEFAULT: '' Inputfield int Optionally set the column width spacing (pixels)
DEFAULT: auto Inputfield string Confirmation text that precedes list of changes when class Inputfield
DEFAULT: There are unsaved changes: Inputfield string Optionally set a description headline for the form
DEFAULT: '' Inputfield string Form method attribute
DEFAULT: POST Inputfield string Optional markup to prepend to the form output
DEFAULT: '' Inputfield bool Set to false to disable automatic CSRF protection
DEFAULT: true Additional methods and properties
API reference based on ProcessWire core version 3.0.252