http://qs321.pair.com?node_id=329565


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

As Abigail-II says, this is a javascript problem, but I'll bite...:)

Your parameters need to be read and passed by javascript - they don't exist as CGI values until the form is submitted, and the "window.open" command isn't submitting the form, so you'll need to do something like this, using the DOM's 'value' command...
window.open('http://xww.test.com/cgi-bin/cgiwrap/rootcgi/create_data.p +l?machine_name=' + document.forms[0].machine_name.value + '&reason=' ++ document.forms[0].reason.value,'create_window','');
HTH,
Ben.