Mark Stosberg > DBIx-AsForm-0.02_01 > DBIx::AsForm    Annotate
this POD  Module Version: 0.02_01   Source     DBIx::AsForm -
Generate an HTML form from a database table.   Generate an HTML
form a database table in a flexible way.       use DBIx::AsForm;
my $daf = DBIx::AsForm->new($dbh);  Generate an empty form:
my @html_form = $daf->to_html_array('widgets');      use CGI;
my $q = CGI->new();     print $q->start_form;         for my
$href (@html_form) {             print "<b>$href->{name}</b>: ".
$href->{obj}->as_HTML." <br>"     print $q->end_form;   This
project was borne out of combined excitement and frustration
with Class::DBI::AsForm. I like the general design of the module
because it doesn't try to do too much. However, I don't use
Class::DBI as part of my standard development, and I didn't want
to depend on Class::DBI for this tool.  I also wanted smarter
form element generation than Class::DBI::AsForm provides. Over
time I expect Class::DBI::AsForm to improve in this area to
match the ad