SproutCMS

This is the code documentation for the SproutCMS project

function number()

Shows a HTML5 number field

Usage

string Fb::number ( string $name , array $attrs );

Arguments

  1. string $name
    The name of the input field
  2. array $attrs
    Extra attributes for the input field; 'min' and 'max' being particularly relevant

Return value

  • string
    INPUT element