in reply to Re: How to pass form data to a onclick=javascript:new.window perl script
in thread How to pass form data to a onclick=javascript:new.window perl script

Hi Abigail-II

So if I do something like:

http://xww.test.com/cgi-bin/cgiwrap/rootcgi/create_data.pl?$front_page +->param('machine_name');$front_page->param('reason')

Do you think that that may pass the parameter's selected by the user, I'm sure those would be set at the point where the user clicks the submit button?

Thanks
Asgaroth
  • Comment on Re: Re: How to pass form data to a onclick=javascript:new.window perl script
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: How to pass form data to a onclick=javascript:new.window perl script
by Asgaroth (Novice) on Feb 17, 2004 at 10:40 UTC
    Oops, I made a booboo, the key=value pair, the url would be

    http://xww.test.com/cgi-bin/cgiwrap/rootcgi/create_data.pl?machine_nam +e=$front_page->param('machine_name');reason=$front_page->param('reaso +n')
    Do you think this may work?

    Thanks
    Asgaroth
      What happened when you tried?

      Abigail

        Hi Abigail-II

        The post where I mentioned "booboo" does not work. Like you mention, the form data needs to be submitted dynamically, and building the url prior to user input, well, i'd guess would be next to impossible 8)

        I'm sure there must be a way of doing this...

        Thanks
        Asgaroth