Popcorn Dave has asked for the wisdom of the Perl Monks concerning the following question:
I've come across an interesting problem with Firefox and CGI scripts.
I've got a script I'm working on that has forms on a couple of pages. No problems with that - Firefox renders the HTML just fine as I would expect it to. The problem comes in when I've got a graphic with a link attached to it Firefox does a lookup and doesn't reference itself. IE will load the next page - assuming that the requisite information has been filled in.
When I have the hyperlink outside the form, both IE and Firefox are showing the submit button's link as being the link on the graphic above.
My questions are:
to submit the form.print $query->submit(-name => "Go to Step 3"),
The odd thing is that Firefox will display the second page when I remove the hyperlink outside the form. Any light anybody can shed on this would be greatly appreciated.
Update: Thanks to ikegami I found a typo in my URL which solved my problem partially. However the URL is still going wrong with the submit button in Firefox.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI.pm form buttons and Firefox
by ikegami (Patriarch) on Apr 18, 2005 at 20:29 UTC | |
by Popcorn Dave (Abbot) on Apr 18, 2005 at 20:59 UTC | |
|
Re: CGI.pm form buttons and Firefox
by chas (Priest) on Apr 18, 2005 at 21:17 UTC | |
by Popcorn Dave (Abbot) on Apr 18, 2005 at 21:44 UTC | |
by bmann (Priest) on Apr 18, 2005 at 23:39 UTC | |
by Popcorn Dave (Abbot) on Apr 19, 2005 at 05:19 UTC | |
by wazoox (Prior) on Apr 19, 2005 at 22:42 UTC | |
| |
by chas (Priest) on Apr 18, 2005 at 21:57 UTC |