RE: [cgiapp] Image Submit Buttons

2002-03-18 Thread Stephen Howard
-Original Message- From: Jerry Hamlet [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 17, 2002 11:00 PM To: Cees Hek; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [cgiapp] Image Submit Buttons Cees, No, unfortunately you can't. When an image submit button is used the 'value

RE: [cgiapp] Image Submit Buttons

2002-03-18 Thread Jesse Erlbaum
Hey All -- Regarding image buttons, I'm an advocate of using light-weight Javascript for this purpose: a href=javascript:submit_rm_one()img src=rm_one.gif/a This is, to me, the most simple, reliable way of having multiple image buttons to submit from a single form to multiple

Re: [cgiapp] Image Submit Buttons

2002-03-18 Thread Jerry Hamlet
Thanks Jesse, Your solution is basically what I came up with also. I added an alternative run-mode parameter that the routine could fall back on if it didn't find any parameters with a trailing x or y preceded by a period. sub select_runmode { my $self = shift; my @params= $self-param();

Re: [cgiapp] Image Submit Buttons

2002-03-17 Thread Jerry Hamlet
Cees, No, unfortunately you can't. When an image submit button is used the 'value' attribute is not passed with the form parameters. What you get out of the image button is a 'rm.x=29' and 'rm.y=47', the numbers being the pixels where the user clicked from left and top of the image. Try it with

Re: [cgiapp] Image Submit Buttons

2002-03-13 Thread Mark Stosberg
Jerry Hamlet wrote: I'm trying to use images to handle the submission of my forms (they look nicer) and I'm having trouble using them with the run_mode of CGI::Application. If my form needs to go in one direction, they work fine, but if the form can branch in multiple directions, I'm having

[cgiapp] Image Submit Buttons

2002-03-12 Thread Jerry Hamlet
Hi, I¹m new to using CGI::Application and although I quickly took up it¹s use, I¹ve encountered a bit of a stumbling block. I'm trying to use images to handle the submission of my forms (they look nicer) and I'm having trouble using them with the run_mode of CGI::Application. If my form needs