使用相关字段自动填充多个字段 - SuiteCRM 7.10.4 版 Sugar 6.5.25 版(Build 344)

autopopulate more than one fileds using relate field - SuiteCRM Version 7.10.4 Sugar Version 6.5.25 (Build 344)

我创建了 2 个自定义模块,leaveadmin 和 leaveall,并使用相关数据类型在一个字段中填充值。
我在一个字段中得到 "name" 值。

But i need to populate other values in other field when i change the value of relate field.

i.e if i change the value in relate field the value in another field should be fetched from the other column values and populate in another field.

任何解决方案都会对我有很大帮助。提前致谢。

  • 也许还有其他解决方案,

but I used custom JS and made AJAX call to achieve this.

  • 如果还有其他解决办法,我也试试看。请推荐