"Al" <> wrote:
> I am a newbie in Perl and would really appreciate some help.
>
> I want to save data from a complex html complex form.
"Saving" data is just a just special case of processing the form
submission. Learn how to process form submissions in general, and then
implement the specific processing needed to save the data.
> I am using the
> following code in JavaSCript to change the action of my Submit Button
> "document.form1.action = x.pl".
Why? If you want the data submitted to that script, why not just set the
action that way in the original <form> element?
> I want to redirect the program to a
What program?
> script which will save the data but I'm not sure how to pass any
> parameters to the script.
You don't have to do anything special. Just let the html form do what html
forms were intended to do. On the server side, "use CGI" to parse the
parameters for you.
>
> and ot the botton of the screen I have <input type = submit value =
> submit name=Sumbit value = sumbit>
Um, OK.
>
> 1)how do I send any data to x.pl
> 2)Will x.pl return to the original calling page
x.pl is a Perl script, not a web browser. what does it mean for
a Perl script to "return to the original calling page"?
It seems like you want to use CGI, but you have no idea what that means.
Read up on CGI.
Xho
--
--------------------
http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB