| Charlie 2004-07-14, 3:55 am |
| Hi Folks,
It seems to me that there is a bug in the WWW::Mechanize module that
"multiple Select" does not work correctly.
Here is the code that written in PERL that gives "illegual value '452'
for field 'keyword' during the runtime.
"
$mech = WWW::Mechanize->new();
$mech->form(1);
$mech->field('keyword', 452);
$mech->submit();
....
"
Does anyone know a way to work around. I do not have the permission to
check the HTML file. And I have to select the keywords many many times
MANUALLY if that perl scripts does not work.
Any help ?
CJI.
Here is the html file I was going to access:
<FORM NAME="order_create" METHOD="POST"
ACTION="/cgi-bin/staffing/manager/ordervalidate_p2.pl" >
....
<TABLE border=0 bgcolor="#eeeeee" cellpadding="3" cellspacing="0"
width=100%>
<select name="keywords" MULTIPLE size=8>
<option value="452">10 Key</option><option
value="445">Access</option><option
value="446">Administrative</option><option value="1">Administrative
Assistant</option><option value="363">Administrative/Clerical</option>
</select>
</TABLE>
....
</FORM>
|