英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论