PHP Bootstrap Form helper 4.0 (previously PFBC/PHP Form Builder Class)
Documentation :: Discussions :: Issues
Bootstrap4 Elements Demo :: Source Code
This software is developed during my free time and I will be glad if somebody will support me.
Everyone's time should be valuable, so please consider donating.
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 ();