I tried :
form.getModel().myFieldId => "Cannot convert from..." exception
form.getModel().myFieldId.getValue() => "getValue is not a function" exception
The multivalue field has a getValue() function which returns an
Object[] (see org.apache.cocoon.forms.formmodel.MultiValueFiled)
You should also be able to access forms.getModel().myFieldId, which is
of type
Object[] (actually, JS Array) too.
forms.getModel().myFieldId.length
should yield a positive value when the user has selected something.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]