Skip to content
Ajit Bohra edited this page Nov 13, 2016 · 3 revisions

A simple number field

Number

Args

Required Args

  • id (string) (required)
  • name (string) (required) Field display name. Used as field label.
  • type 'number' (string) (required)

Optional Args

  • step (int) Step-up interval amount

Optional Generic Args

See Optional Generic Args

Example Usage

array( 
	'id'   => 'example-field-number', 
	'name' => 'A simple number field', 
	'type' => 'number', 
),