Download the PHP package mvccore/ext-form-field-numeric without Composer
On this page you can find all versions of the php package mvccore/ext-form-field-numeric. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mvccore/ext-form-field-numeric
More information about mvccore/ext-form-field-numeric
Files in mvccore/ext-form-field-numeric
Download mvccore/ext-form-field-numeric
More information about mvccore/ext-form-field-numeric
Files in mvccore/ext-form-field-numeric
Vendor mvccore
Package ext-form-field-numeric
Short Description MvcCore - Extension - Form - Field - Numeric - form field types - input:number and input:range.
License BSD-3-Clause
Package ext-form-field-numeric
Short Description MvcCore - Extension - Form - Field - Numeric - form field types - input:number and input:range.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package ext-form-field-numeric
MvcCore - Extension - Form - Field - Numeric
MvcCore form extension with input field types number and range.
Installation
Fields And Default Validators
input:numberNumber- configured by default
- raw user input parsing by specific rules to parse int/float or by
IntlPHP extension - min., max. and step validation
Integer- not configured by default
- the same validation as
Number, only withintchecking (if there are precision values or not)
Float- not configured by default
- the same validation as
Number, only returning alwaysfloattype
input:range(extended frominput:number)Range- configured by default
- directly extended from
Numbervaludator, the same functionality only for 2 numbers
Features
- always server side checked attributes
required,disabledandreadonly - all HTML5 specific and global atributes (by Mozilla Development Network Docs)
- every field has it's build-in specific validator described above
- every build-in validator adds form error (when necessary) into session and than all errors are displayed/rendered and cleared from session on error page, where user is redirected after submit
- any field is possible to render naturally or with custom template for specific field class/instance
- very extensible field classes - every field has public template methods:
SetForm()- called immediatelly after field instance is added into form instancePreDispatch()- called immediatelly before any field instance rendering typeRender()- called on every instance in form instance rendering process- submethods:
RenderNaturally(),RenderTemplate(),RenderControl(),RenderLabel()...
- submethods:
Submit()- called on every instance when form is submitted
Examples
- Example - CD Collection (mvccore/example-cdcol)
- Application - Questionnaires (mvccore/app-questionnaires)
Basic Example
All versions of ext-form-field-numeric with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
mvccore/mvccore Version ^5.3
mvccore/ext-form Version ^5.3
mvccore/ext-tool-locale-floatparser Version ^5.3
mvccore/mvccore Version ^5.3
mvccore/ext-form Version ^5.3
mvccore/ext-tool-locale-floatparser Version ^5.3
The package mvccore/ext-form-field-numeric contains the following files
Loading the files please wait ...