the form-name is only used for the name of the form, not as an prefix for the name of the fields inside the form
I see, a misunderstanding.
Documentation shows
<tr id="${form}_${field}_row">
<td id="${form}_${field}_label">Label</td>
<td id="${form}_${field}_input"><input tag></td>
<td id="${form}_${field}_error">Error</td><!-- if invalid
+-->
</tr>
And that matches my experience (s/_input/_field/), this code
#!/usr/bin/perl --
use strict;
use warnings;
use CGI::FormBuilder;
my $form = CGI::FormBuilder->new( name => 'acctinfo');
$form->field(name => 'fname', label => 'First Name');
$form->field(name => 'lname', label => 'Last Name');
print $form->render(header => 1);
produces this html
It seems you want
#!/usr/bin/perl --
use strict;
use warnings;
use CGI::FormBuilder;
my $form = CGI::FormBuilder->new( name => 'acctinfo');
$form->field(name => 'acctinfo_fname', label => 'First Name');
$form->field(name => 'acctinfo_lname', label => 'Last Name');
print $form->render(header => 1);
|