f / f-bootstrap-form
PHP Bootstrap Form Helper
v4.1
2016-10-13 01:03 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-01-22 20:34:52 UTC
README
PHP Bootstrap Form helper 4.0 (previously PFBC/PHP Form Builder Class)
Documentation :: Discussions :: Issues
Bootstrap4 Elements Demo :: Source Code
Latest Features:
- Bootstrap 3 and 4 support
- Added new simple API. Old API is still supported
- Added 'shared' element property to share 1 row between multiple elements in SideBySide View
- View class renamed to FormView class
- Added Form::renderArray() helper function
- Fixed prepend and append properties handling
- Added icon property to buttons
New API:
Form::open ("login"); echo '<legend>Login</legend>'; Form::Hidden ("id"); Form::Email ("Email Address:", "email", array("required" => 1)); Form::Password ("Password:", "password", array("required" => 1)); Form::Checkbox ("", "remember", array("1" => "Remember me")); Form::Button ("Login"); Form::Button ("Cancel", "button", array("onclick" => "history.go(-1);")); Form::close ();