如何添加一个带有链接的自定义字段

huangapple go评论76阅读模式
英文:

How to add a custom field with a link

问题

I have a text box that contains a link and I would like when I click on that link the system opens the site I entered in the text box in form Acumatica.

我有一个包含链接的文本框,我希望当我点击该链接时,系统会打开我在Acumatica表单中输入的网站。

How to do that? Any ideas?

如何做到这一点?有什么想法吗?

I wrote a piece of javascript code to transform a text field into a link.

我编写了一段JavaScript代码,将文本字段转化为链接。

However, I cannot find a way to inject this code into the quote display screen (SO301000).

然而,我找不到一种将此代码注入报价显示屏幕(SO301000)的方法。

英文:

I have a text box that contains a link and I would like when I click on that link the system opens the site I entered in the text box in form Acumatica.
How to do that? Any ideas?

I wrote a piece of javascript code to transform a text field into a link.
However, I cannot find a way to inject this code into the quote display screen (SO301000).

答案1

得分: 0

你可以在ASPX文件中将PXTextEdit更改为PXLinkEdit。

<px:PXLinkEdit ID="edDefContactWebSite" runat="server" DataField="WebSite" CommitChanges="True" ></px:PXLinkEdit>

虽然不完全符合你的需求,但这是Acumatica的标准做法。

英文:

You can change PXTextEdit to PXLinkEdit in the ASPX file.

<px:PXLinkEdit ID="edDefContactWebSite" runat="server" DataField="WebSite" CommitChanges="True" ></px:PXLinkEdit>

It is not exactly what you need, but it is the standard Acumatica way.

huangapple
  • 本文由 发表于 2023年6月15日 15:40:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76480171.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定