lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev bug when submitting multiple textareas with same name?


From: Doug Yatcilla
Subject: lynx-dev bug when submitting multiple textareas with same name?
Date: Mon, 19 Jun 2000 11:12:12 -0400

When I submit a form with multiple textarea elements with same name, lynx
seems to concatenate all the data from the textarea fields and presents a 
single field to a CGI program.

I have attached a simple web page form and a Perl CGI program that
demonstrates this.  Also attached is copy of the results page I see after
submitting the form.

I think this is a bug because the hidden, select and textfield elements
behave differently than the textarea element.   

I have tested this in lynx-2.8.2 and lynx-2.8.3 and get the same results
both times.  I am running them on an HP-UX 11.00 system.

Here are the results I get after subitting the form:

                                   Form Echo
                                       
   hidden field = [first]
   hidden field = [second]
   textfield = [first]
   textfield = [second]
   multiple select list field = [two]
   multiple select list field = [three]
   textarea field = [ first one second one third one ]
   Test it = [Submit]

   ...etc.

I would have expected to get this, though:

                                   Form Echo
                                       
   ...
   textarea field = [ first one ]
   textarea field = [ second one ]
   textarea field = [ third one ]
   ...

Thanks for any suggestions!
Doug

Test

Multiple selection list: one two three four first one second one third one

Attachment: envvar.pl
Description: Perl program

Attachment: results
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]