I can obtain a form that contains radio buttons and a scrollbox, but can't
seem to be able to set the value of the scrollbox field.
I print the current form settings and I get:
The current setting as a sequence of key/value pairs:
Name: <stnid> Type: <option> Value: <Please select a station>
Name: <> Type: <submit> Value: <Press HERE to see plot>
Name: <Action> Type: <radio> Value: <Wind>
stnid is the scrollbox field that I want to set to something like :
'9415144+Port+Chicago,+CA'
I can set the value of the 'Action' input field, and change to other values
than 'Wind' by the following line:
$form->value('Action','Temp');
But when I do a :
$form->value('stnid','9415144+Port+Chicago,+CA');
I get the following error :
Illegal value '9415144 Port Chicago, CA' at
/uc/groups/argonaut/lib/perl5/site_perl/5.005/HTML/Form.pm line 627.
Now, I know for sure that the specific value I'm trying to set the 'stnid'
field is legitimate ( it's among the options of the scrollbox) .
Is there any other way of setting this field ?
have a great day.
Cenk