kosta has asked for the wisdom of the Perl Monks concerning the following question:
What happens is that all the conditions above pass (it kinda looks like all the buttons were clicked even if it was just a one) What am I missing here? ... THNXif (param('poslat') ){ print param('poslat'); if (param('poslat') == 'Schvalit_vse') { print 'schvalit_vse_clicked'; } if (param('poslat') == 'Schvalit vybrane') { my @checks = param('box'); print 'schvalit_vybrane_clicked'; foreach (@checks) { print $_; } ... submit(-name=>'poslat', -value=>'Schvalit_vse'). br. br. br. submit(-name=>'poslat', -value=>'Schvalit vybrane') ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: determine which submit was clicked
by ikegami (Patriarch) on Jan 19, 2011 at 17:34 UTC | |
|
Re: determine which submit was clicked
by locked_user sundialsvc4 (Abbot) on Jan 19, 2011 at 18:20 UTC | |
|
Re: determine which submit was clicked
by happy.barney (Friar) on Jan 20, 2011 at 07:12 UTC |