So... I've viewed your code...  the only problem is.... you used so may
"<form action=log-work.cgi method=post>"
In case, one is enough and all ( just for your case )

However, that's not the Perl stuff, but HTML prob.,
So I only explain it short =)

You can finish your whole script like this, actually the
framework should be looking like this...

<form method=post action=log_work.cgi>

    <!-- gen options and the rest for the form by your script -->
    <!-- and Finally -->

<input type=submit value=view name=VIEW>
<input type=submit value=update name=UPDATE >
</form>




>
> --- Maureen E Fischer <[EMAIL PROTECTED]> wrote:
> > Hello,
> >     My question is about CGI's form statement.  I
> > wrote a program that
> > outputs
> > three fields.  Two of the three are fields from
> > which one option is
> > selected.  The
> > number and type of options presented are based on
> > the user identified in
> > the environmental variables.
> >     I got the screen to print out correctly, but
> > when the submit button
> > is pressed the only information that is passed to
> > the next program is
> > the information from the last FORM statement that I
> > output.  So I am
> > thinking that I have to somehow output all three
> > fields
> > in one form statement. If that is true then how is
> > this done when the
> > number of OPTIONs will vary.
> >     Thanks,
> > Maureen
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> =====
> "Now it's over, I'm dead, and I haven't done anything that I want; or, I'm
still alive, and there's nothing I want to do." - They Might Be Giants,
http://www.tmbg.com
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to