perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JC Fant IV" <jfan...@hotmail.com>
Subject Re: problem with multiple select
Date Thu, 07 Jun 2001 22:41:08 GMT
Seems to me that its not the fileupload part that's messed up... its in the
ENCTYPE="multipart/form-data" .

I tried even to submit the multiple select with out using the file upload
with a form tag......
<form name="doattach" id="doattach" action="test2.html" method="post"
ENCTYPE="multipart/form-data">
and I get the same thing, only one select value comes in... I really don't
think its on the Apache-ASP side.... Hey I have been wrong before and am
probably wrong again!!!


----- Original Message -----
From: "Joshua Chamas" <ayafm@yahoo.com>
To: "Anton Slabbinck" <anton@westsite.be>; <asp@perl.apache.org>
Sent: Thursday, June 07, 2001 2:24 PM
Subject: Re: problem with multiple select


> There may be a bug here ... Apache::ASP handles
> file uploads with different logic from other forms
> by using CGI.pm for the underlying file upload
> parsing.  I'll look into this ( early next week )
> and see if I can't make multiple select values behave
> properly in this context.
>
> --Josh
>
> --- Anton Slabbinck <anton@westsite.be> wrote:
> > Hi,
> >
> > I'm having problem to get the result of a <SELECT ... MULTIPLE> field
> > in a
> > form.
> > something like this works file :
> >    <FORM name=FormName method=post>
> >      <SELECT name=aSelectField size=4 multiple>
> >          <OPTION value=one>first</OPTION>
> >          <OPTION value=two>second</OPTION>
> >          <OPTION value=three>third</OPTION>
> >        </SELECT>
> >    </FORM>
> >    <P>aSelectField2 : <%
> >      @selectFields = $Request->Params('aSelectField');
> >      print join ',', @selectFields
> >    %>
> >    </P>
> >
> > But I also need to upload a file with this form.
> > When I add ENCTYPE="multipart/form-data" to the form tag,
> > I can only retrieve the first selected item from aSelectField.
> > It's like the wantarray doesn't work anymore.
> >
> > Does anybody know how to fix this ?
> >
> > Anton.
> >
> > -----------------------------------------------------
> > - WestSite NV - I N T E R N E T  S O L U T I O N S  -
> > -----------------------------------------------------
> > Torhoutse Steenweg 337
> > 8200 Brugge
> > BELGIUM
> > T.+32 50 39 41 41
> > F.+32 50 39 41 43
> > mailto:anton@westsite.be
> > -----------------------------------------------------
> > http://www.westsite.be
> > http://wap.westsite.be
> > -----------------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> > For additional commands, e-mail: asp-help@perl.apache.org
> >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>
>

_______________________________________________________
J.C. Fant IV
PlanetofMusic.com
Perl Guru ? Don't Think So!!!
818 517 4879
mailto:jfantiv@hotmail.com
_______________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message