dev-master
9999999-devBuild HTML inputs.
MIT
The Requires
- php >=5.4
html novembre communication input builder simply input
Wallogit.com
2017 © Pedro PelĂĄez
Build HTML inputs.
Build HTML inputs., (*1)
Example php Input generation Views are based on Twitter Bootstrap 3 HTML templates (default theme) ``` value("value") ->label("Nom") ->placeholder("par ex: Dupondt") ->required() ->html(); echo $input = Inputfactory::load('email', 'monEmail') ->label("Email :") ->placeholder("placeholder ici") ->required() ->html(); echo $input = Inputfactory::load('textarea', 'monArea') ->label("Message :") ->value("Yeah") ->html(); echo $checkbox = Inputfactory::load('checkbox', 'maCheckbox') ->label("Cliquez ici") ->html(); echo $radio = Inputfactory::load('radio', 'maCheckbox') ->options(array("Value 1" => "Label 1", "Value 2 " => "Label 2")) ->checked(2) ->html(); echo $select = Inputfactory::load('select', 'monSelect') ->label("Options") ->options(array("Value 1" => "Label 1", "Value 2 " => "Label 2")) ->selected(2) ->help("Complément d'information") ->html(); echo $input = Inputfactory::load('file', 'monFile') ->label("Fichier :") ->help("Image uniquement") ->multiple() ->html(); ?>, (*2)
Build HTML inputs.
MIT
html novembre communication input builder simply input