freddo411 has asked for the wisdom of the Perl Monks concerning the following question:
My Problem? I am creating a list such that at the end of each row I intended to have a submit button. Depressing this button should send the user into a different run mode (rm) of my CGI App.
CGI App "knows" which rm to enter by either a hidden field, regular field, or query string that looks like: rm=foo. Submit buttons are part of the query string, so if you have a button named "rm" with a value of "foo" then CGI app will jump to the "foo" run mode. Unfortunately, if I set the label attribute of the button to "Click here nice user" then CGI app takes that as the run mode to use, ignoring the value attribute. This seems like a bug.
Anyone know a way to have a set of buttons with arbitrary labels that fire off to specific run modes?
Cheers
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Application usage question
by diotalevi (Canon) on Aug 28, 2003 at 21:36 UTC | |
|
Re: CGI::Application usage question
by bart (Canon) on Aug 28, 2003 at 22:05 UTC | |
by bean (Monk) on Aug 29, 2003 at 00:57 UTC | |
by freddo411 (Chaplain) on Aug 29, 2003 at 18:12 UTC | |
|
Re: CGI::Application usage question
by PodMaster (Abbot) on Aug 29, 2003 at 07:09 UTC | |
by freddo411 (Chaplain) on Aug 29, 2003 at 18:47 UTC | |
|
Re: CGI::Application usage question
by aquarium (Curate) on Aug 29, 2003 at 13:07 UTC |