Hi
I have a question about CheckboxPicklist..

I have list coming from query and user can check one or more of list
and checked item are transfered to approval saving selections to
flowdata and read with flowdata.getObject to approval from..

I can select first one of array easily with field.select() - but if I
have more than one I do not know how to do that... I have tried
following:

onchange event
var rights=form.getValues("Apps");
for (i=0;i<rights.length;i++)
{
form.select("Apps[i]")
};

Looks lije form.getvalues("Apps") does not return array..

If I study how control behaves when checking the boxes

var rights=form.getValues("Apps");
alert(oikat[0]);
alert(oikat[1]);
for (i=0;i<rights.length;i++)
{
form.select("Apps[i]")
};

This shows values right after I check the boxes - nothing until doing
that - I wonder How I can get all the boxes checked...

V-M


--
vm_luotonen
------------------------------------------------------------------------
vm_luotonen's Profile: http://forums.novell.com/member.php?userid=2297
View this thread: http://forums.novell.com/showthread.php?t=310486