I have a custom event on a 2 way picklist. Calling field.select(values) within that event on a request form causes the values passed in to be moved from the left column of the picklist to the right column (this is the desired behavior). Executing the same code on an approval form just causes the values passed to be highlighted on left side of the picklist and they are not moved to the right hand side. Any ideas why the behavior is inconsistent or how I can workaround it?
In case anyone has similar issues, this appears to be caused by how the field event is called. I was launching a custom event from the form onload script. When i changed the custom event to be an onload event for the field, the values were selected correctly. Not sure why this should be the case.
For anyone who ever experiences the same issue, i managed to work around this problem by changing the custom field event containing the field.select statement into an onload event. This seemed to cause the values to be selected rather than just highlighted - no idea why.
If you're on current versions and supported browsers, this looks like a reportable bug.
On 01.11.2012 16:24, KKnowles Praxism wrote: > > For anyone who ever experiences the same issue, i managed to work around > this problem by changing the custom field event containing the > field.select statement into an onload event. This seemed to cause the > values to be selected rather than just highlighted - no idea why. > >