Problem with the values of multiselect fields at On Load

Problem with the values of multiselect fields at On Load

One of the new features, as it is written here, is

More than one value can now be passed as parameter value for multi-select field to set default values while loading a form

It is great, but I discovered a problem related to this feature.

In the forum topic related to the completion of the third community feature (see here) there is a link to a public demo application meant to illustrate the use of the new features.
http://creator.zoho.com/sampleapps/custom-action-example#View:Employee_View

The application works properly, but I copied it in my account and I made some experiments. I saw that in the Salary_HikeForm , while hidden empid field is properly populated with values depending on the records selection from Employee View , the empid field appears at On Load as an empty field. If I need for example to display the names of the selected employees when Salary_HikeForm is loaded, it is not possible, because the field appears empty if you call it from a script.

If I did not expose the problem too clear, you may try to add a single line of code at On Load section of Salary_HikeForm

  1. alert(input.empid.size());
The result will be that when Salary_HikeForm is loaded, an alert displays 0 , no matter how many records are in empid field. This is because that field appears as empty when the forms loads, and its content can't be used by a script when the form loads.

Regards,
George