Download the PHP package mvccore/ext-form-field-text without Composer
On this page you can find all versions of the php package mvccore/ext-form-field-text. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mvccore/ext-form-field-text
More information about mvccore/ext-form-field-text
Files in mvccore/ext-form-field-text
Download mvccore/ext-form-field-text
More information about mvccore/ext-form-field-text
Files in mvccore/ext-form-field-text
Vendor mvccore
Package ext-form-field-text
Short Description MvcCore - Extension - Form - Field - Text - form field types - input:text, input:email, input:password, input:search, input:tel, input:url and textarea.
License BSD-3-Clause
Package ext-form-field-text
Short Description MvcCore - Extension - Form - Field - Text - form field types - input:text, input:email, input:password, input:search, input:tel, input:url and textarea.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package ext-form-field-text
MvcCore - Extension - Form - Field - Text
MvcCore form extension with input field types text, email, password, search, tel, url and textarea field.
Installation
Fields And Default Validators
input:text,input:searchSafeString- configured by default
- XSS string protection to safely display submitted value in response, configured by default
MinMaxLength- not configured by default
- validation by PHP
mb_strlen()for min. and max.
Pattern- not configured by default
- validation by PHP
preg_match()
input:password(extended frominput:text)Password- not configured by default
- validation by configurable password strength rules
SafeString,MinMaxLength,Pattern- not configured by default, ...description above
input:email(extended frominput:text)Email- configured by default
- single/multiple email form validation by PHP
filter_var($rawValue, FILTER_VALIDATE_EMAIL);
SafeString,MinMaxLength,Pattern- not configured by default, ...description above
input:tel(extended frominput:text)Tel- configured by default
- validation for not allowed chars in phone number, no validation for international phone number form
SafeString,MinMaxLength,Pattern- not configured by default, ...description above
input:url(extended frominput:text)Url- configured by default
- url validation by regular expression, SSRF save value, optional DNS validation and many other options
SafeString,MinMaxLength,Pattern- not configured by default, ...description above
textareaSafeString- configured by defaultMinMaxLength,Pattern- not configured by default, ...description above
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-text with dependencies
PHP Build Version
Package Version
The package mvccore/ext-form-field-text contains the following files
Loading the files please wait ...