Indeed this is not related to perl, but i will try to help anyway... even if it gets deleted :p
Hope my reply is not meant as a misdemeanor! A question is a question and i am eager to help since i feel fine today

The main issue here is that you do not need to 'submit' the page to obtain the effect you want. Better, you need not do it!
What you need is a button which, on 'onclick' calls a javascript routine that pops up on an href with a cgi script that receives the parameters you need.
The sending page does not change, and the popup can perform any action you want. Especially if programmed in perl :)

Again, I hope we do not upset anybody and ask excuses if so.

update 1: like:
... <img src="bighotdogncolddrinkbutton.gif" onclick="javascript: openmypo +pup(document.hiddenfield1, document.hiddenfield2)"> ...

In reply to Re: Upon Submission of Form -> Pop Window by CodeHound
in thread Upon Submission of Form -> Pop Window by peacemaker1820

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.