Sugarcrm 联系人下拉列表和 javascript
我需要这样的东西来创建订单。 我在 Sugarcrm 中有以下字段,
name: text field
contacts :dropdown
etc ...
当我从订单编辑视图的下拉列表中选择联系人时,我需要一个联系人下拉菜单,其中包含使用 javascript 或 ajax 填充此处的联系人的主要地址的字段。 它应该填充从联系人到列出的字段的所有字段。联系人字段是:
Primary Address
Street:
City:
State:
Postal Code:
Country:
Other Address
Street:
City:
State:
Postal Code:
Country:
Copy address from left:
它应该填充到:
送货地址 街道: 城市:
状态:
邮政编码:
国家/地区:
帐单地址 街道: 城市:
状态:
邮政编码:
国家:
从左复制地址:
在sugarcrm中可以吗?代码是什么。
I require something like this for my order creation.
I have the following fields in sugarcrm
name: text field
contacts :dropdown
etc ...
I need a dropdown of contacts with the fields from primary address from contacts populated here using javascript or ajax when I select a contact from the drop down in the order edit view.
It should populate all the fields from the contacts to the field listed .The contact fields are :
Primary Address
Street:
City:
State:
Postal Code:
Country:
Other Address
Street:
City:
State:
Postal Code:
Country:
Copy address from left:
It should populate to :
Shipping Address
Street:
City:
State:
Postal Code:
Country:
Billing Address
Street:
City:
State:
Postal Code:
Country:
Copy address from left:
Is it possible in sugarcrm. What would be the code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它相当复杂,但我会使用 ajax 来实现。以下只是一个建议,因为有多种方法可以实现这种更改。
It's fairly complex, but I would make it using ajax. The following is only a suggestion, since there are several ways to implement such a change.