Re: CGI question: Getting form name to cgi script

2002-10-17 Thread ronnie gauthier
OK. got ya. perl does not care about form names, AFAIK. you can get arrays parsed out from multiple checkboxs and drop down menus but I know of no way to get an array from each form on a page parsed out. build the form with a call from the script and count up on the variable names...

Re: CGI question: Getting form name to cgi script

2002-10-17 Thread Joel Hammer
There is a simple solution. With a submit button, if you include a name and value, you will send both of them to the CGI script when the submit button is pressed. form name=2 action=cgi.script input type =submit name=2 value =Submit\ All the form stuff /form Joel

Re: CGI question: Getting form name to cgi script

2002-10-17 Thread ronnie gauthier
yes. I guess I missunderstood. Thought you wanted the input from each form on the page to the script in one submit. On Thu, 17 Oct 2002 06:46:25 -0400 Joel Hammer [EMAIL PROTECTED] wrote: There is a simple solution. With a submit button, if you include a name and value, you will send both of

Re: CGI question: Getting form name to cgi script

2002-10-16 Thread Joel Hammer
I care about telling the script which form is submitted because I have an html page with up to 36 identical forms, each form referencing a separate object (an image). I am concocting a home brew image editing GUI using opera, or any browser. So, each image is loaded on the page, and certain

CGI question: Getting form name to cgi script

2002-10-15 Thread Joel Hammer
I must be stupid or tired but: Fooling around with CGI. I have created an html page with multiple forms on it. When I hit the submit button, I don't see where the form name is being sent to the web server. This makes it hard to process the forms properly. What am I missing? Another question:

Re: CGI question: Getting form name to cgi script

2002-10-15 Thread ronnie gauthier
Why should the serve care what the form name is. Why should it need to know. If you need to get the form name to the script use a hidden tag. Trying to transfer a file requires the use of the correct enctype=multipart/form-data in the form tag. If you are not using it look at CGI.pm, makes