in reply to Relaying form data

If you don't have control of the script in the action tag, this really isn't a Perl problem unless you intend on writing a proxy/scraper (ie, a CGI that goes and queries the remote form, parses the results, and displays them to your visitors).

Instead you should be looking to HTML (particularly <form>'s target attribute) or JavaScript.

    --k.


Replies are listed 'Best First'.
Re: Re: Relaying form data
by Wassercrats (Initiate) on May 11, 2002 at 23:21 UTC

    I just read about the target attribute. It sounds like the simple way to use it would require submitting the form from a page already containing a frameset. I want a frame to appear only when the form is submitted.

    Now that I think of it, I do have content in the center of my page that I can put in a seperate frame which could be the target, but scrolling would be necessary when once the form is submitted and a scrollbar in the center of the page would look horrible when my regular page content is displayed.

    My original idea still seems necessary. I'd have the scroll bar only when the form is submitted, and a link back to my frameless homepage. If I do it this way, I'd coax people to press an extra submit button after a message stating that the following content is from another website, I'm not responsible... blah blah blah... click the link to return... blah blah... and click here (submit) to continue.

      Since you can't seem to rtfm :)
      <form .... target="_blank">
      cLive ;-)

      --
      seek(JOB,$$LA,0);

        Thanks. I figured that out since then. At first I saw the following on W3c:

        "By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements. The target attribute may be set for elements that create links (A, LINK), image maps (AREA), and forms (FORM).

        Please consult the section on target frame names for information about recognized frame names".

        I must of skipped or read that last sentence too quickly, but they should clarify what they mean by recognized.