in reply to Trouble passing values through hidden fields

As I see it, you can do this in 2 ways (or more).

1 way:
Place the form inside the body tags of your html, and your form should have method="post" and action="http://wwwdev.pl.ford.com/L2e/cgi-bin/ebook_insert_2.cgi".
The javascript should do a document.form1.submit() to send the data to the second script and should be placed after the form.

2 way:
Assemble the key1=value1&key2=value2 pairs, put it after the url, like this http://wwwdev.pl.ford.com/L2e/cgi-bin/ebook_insert_2.cgi?key1=value1&key2=value2 and do the window.location javascript stunt. Remember to escape any spaces in values first.

/brother t0mas
  • Comment on Re: Trouble passing values through hidden fields