InputfieldRadios class

Radio buttons for selection of a single item

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

Show class?     Show args?       Only hookable?    

Properties

NameReturnSummary 
InputfieldRadios::optionColumns int Number of columns to display radios in, or 0 for vertical stacked, or 1 for inline
DEFAULT: 0
 
InputfieldRadios::optionWidth string Alternative to optionColumns, specify option width like '222px', '22em', etc. or '1' for auto. 3.0.184+
DEFAULT: blank
 

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.252