php-form-builder
php-form-builder copied to clipboard
A simple, lightweight PHP class that makes creating forms easy
Added a field attribute, "group", and used vanilla javascript to wrap fieldsets around each set of controls with that group. The javascript is namespaced with a long, random string to...
$end .= $val['placeholder'] ? ' placeholder="'.$val['placeholder'].'"' : '';
Is it already possible to add a class to the "submit" button?
This fixes https://github.com/joshcanhelp/php-form-builder/issues/15
When generating a select-Input the given value is neglected and always the first option ist set initially. E.g. $form->add_input("Field", array("type" => "select", "options" => array ("1"=>"1", "2"=>"2"), "value"=>"2"), "field"); will...