[html-formfu] New user with simple question
Carl Franks
fireartist at gmail.com
Wed May 25 07:04:42 GMT 2011
> First, the yml file: simple.yml
> ======================
> ---
> auto_fieldset: 1
> elements:
> - type: Text
> name: textvar
> And last, the processing CGI file: simple_get.cgi
> ======================
> 27 $form->indicator("submit");
indicator('submit') tells process() that a form must have a value for
the field 'submit'.
Your form config doesn't have a 'submit' field/button.
So $form->submitted() will always be false.
Carl
More information about the HTML-FormFu
mailing list