[thelist] Perl - multiple select option
Adrian Fischer
adrian at aussiebidder.com
Thu Apr 18 06:32:01 CDT 2002
Hi Peoples,
I have a multiple select option thing happening in my script that works fine
in IE but displays the whole list in NS.
The script is PERL and it generates the drop down list on the fly.
Here is the offending bit. Any pointers would be appreciated.
<snip>
print <<"EOF";
<TR><TD width=25% ALIGN=RIGHT><B>Business Name: </B></TD><TD><INPUT
NAME=BUSNAME VALUE=\"$busname\" TYPE=TEXT SIZE=35 MAXLENGTH=45></TD></TR>
<TR><TD ALIGN=RIGHT valign=top><B>Category:</B><br>Select up<br> to four
</TD><TD valign=top><table><tr><td><SELECT NAME=CATEGORY MULTIPLE=4>
EOF
for ($i=0; $i<=$#dockcat; $i++) {
print "<OPTION VALUE=\"$dockcat[$i]\">$dockcat[$i]</OPTION>";
}
print "</SELECT></td><td>Hold down the Ctrl button<br> and left mouse click
to<br> select multiple categories</td></tr></table></TD></TR>";
</snip>
Here is the offending page:
http://aussiebidder.com/cgi-bin/dockets.pl?action=newclient_2
Also...in NS 6 how do I get the thing to visit the page every time? I test
locally using 127.0.0.1 and NS6 doesn't show the latest changes. NS4.08
works fine.
Regards
Adrian Fischer
http://aussiebidder.com
More information about the thelist
mailing list