Form button element that you can optionally pass an href attribute to.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Inputfield
class also inherits all the methods and properties of: InputfieldSubmit, Inputfield, WireData and Wire.
Common
Name | Return | Summary | |
---|---|---|---|
Inputfield | string | Optional class name(s) for <a> element (if href is used). | |
Inputfield | string | URL to link to | |
Inputfield | bool | Place <a> link inside <button> rather than outside? Not admin compatible. (default=false) 3.0.184+ | |
Inputfield Inputfield Inputfield | string | Render the button | |
Inputfield | string | Link target |
Additional methods and properties
In addition to the methods and properties above, Inputfield
API reference based on ProcessWire core version 3.0.236