Download the PHP package armano2/zend1-bootstrap3 without Composer
On this page you can find all versions of the php package armano2/zend1-bootstrap3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download armano2/zend1-bootstrap3
More information about armano2/zend1-bootstrap3
Files in armano2/zend1-bootstrap3
Package zend1-bootstrap3
Short Description Twitter Bootstrap v.3 Forms for Zend Framework v.1 extended
License MIT
Informations about the package zend1-bootstrap3
Twitter Bootstrap 3 Form for Zend Framework 1 extended
This library was originally created by @zfbase and forked by @wendrowycz This is an extended version, adding an HTML element, inline form option with labels, form-group class option and more.
Form types
The library supports all Bootstrap 3 form types.
One PHP code
OR
HTML generated for vertical form
The form must be inherited from class Twitter_Bootstrap3_Form_Vertical
.
HTML generated for horizontal form
The form must be inherited from class Twitter_Bootstrap3_Form_Horizontal
.
HTML generated for inline form
The form must be inherited from class Twitter_Bootstrap3_Form_Inline
.
To use inlineforms with labels you can use the class Twitter_Bootstrap3_Form_Inlinelabel
.
If you are using inline forms, the dimensions will not be set of course. If you need dimensions, you can add them using the attribute formgroupclass like this:
This will give you the following output:
Supported controls
The library supports all Zend Framework 1 and Bootstrap 3 form elementes.
All example present for vertical form.
Inputs
Most common form control, text-based input fields. Includes support for all HTML5 types: text
, password
, datetime
, datetime-local
, date
, month
, time
, week
, number
, email
, url
, search
, tel
, and color
.
Textarea
Checkboxes and radios
One checkbox
MultiCheckbox
Radios
Inline multicheckbox and radio
Selects
One value
Multiple
Buttons
Includes support for button types: button
, submit
, reset
and image
.
Simple text
Element static
is an alias of element note
.
Other decorated elements
The library also contains elements for decorators: file
, hidden
, hash
and captcha
.