How to Get Multi-User Lookup Field Value in Client Script?
Hello,
In Client Script for Zoho CRM Opportunities module, I can easily get the selected values of a Single-User Lookup Field:
- let selectedUser = ZDK.Page.getField("Proposal_Owner").getValue(); // {id: "123", name: "Taha"}
But when I do the same for a Multi-User Lookup, I get null:
- let selectedUsers = ZDK.Page.getField("Team_Members").getValue(); // null
I also messed around with GetForm and GetList functions but could not get the value.
So, how can I receive the values from a Multi-User Lookup?
Note that the function is triggered on a Field Event: onChange