Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
We don't bite newbies here... much
 
PerlMonks  

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

by Asgaroth (Novice)
on Feb 17, 2004 at 05:34 UTC ( [id://329550]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 05: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://329550]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.