SproutCMS

This is the code documentation for the SproutCMS project

function number()

Returns HTML for a number field, using Fb::number to generate the field itself

Usage

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

Arguments

  1. string $name
    The name of the input field
  2. array $attrs
    Extra attributes for the input field

Return value

  • string
    HTML