You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steve "Uru" West edited this page Jun 21, 2014
·
7 revisions
The first step is to build a Form object and add Inputs and/or Fieldsets to it. After this you can use a Renderer to create the html for the form.
Creating a Form
<?phpuseFuel\Fieldset\Form;
useFuel\Fieldset\Input;
$form = newForm;
$form[] = newInput\Text('name');
$form[] = newInput\Submit('submit', [], 'GO!');
//This will repopulate the form with any submitted data$form->repopulate();