diff options
-rwxr-xr-x | index.cgi | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -105,20 +105,25 @@ if ($form->submitted) { $infostring .= "\n<P>The following info has been submitted:"; $form->{opt}{messages}{form_confirm_text} = "$infostring"; print $form->confirm( -# header => 1, + header => 1, template => $ack_path ); } else { print $form->render( -# header => 1, + header => 1, sticky => (! $form->validate), #FIXME text => $infostring, template => $req_path ); } +} elsif ($ENV{'FORMBUILDER_NOHEADER'}) { + print $form->render( + header => 0, + template => $req_path + ); } else { print $form->render( -# header => 1, + header => 1, template => $req_path ); } |