set_uk has asked for the wisdom of the Perl Monks concerning the following question:
I am using Template Toolkit with CGI::Formbuilder and I cant work out how to reference the multiple buttons generated from the CGI::Formbuilder initialization param
The doc refs state [% form.submit %] as the placeholder for a submit button. You can also ref them by name as in [% form.field.[name] %]. But the name of all the submit buttons is _submit.submit => [qw/Submit Modify Query Delete Cancel/],
I can get around this by redefining the form each time in a different run mode and only having one submit button. Is there a better solution. Simon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::FormBuilder Multiple Submit buttons and CGI::Application
by shenme (Priest) on Nov 12, 2003 at 00:49 UTC | |
by set_uk (Pilgrim) on Nov 12, 2003 at 11:28 UTC | |
|
Re: CGI::FormBuilder Multiple Submit buttons and CGI::Application
by jdtoronto (Prior) on Nov 12, 2003 at 03:13 UTC |