- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2014 02:03 AM
When using a currency field (and having multiple currencies available) there is a blue 'Edit' link next to the currency drop down. I've no idea why and want to be hidden. Cannot find a way. Any ideas? Russell Hart did you say you had a way?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2014 04:31 AM
So I've now found a working solution for this -
A simple client script where the id is the id of the edit link (found by inspecting it)
function onLoad() {
document.getElementById("<<id>>.editLink").style.display="none";
document.getElementById("<<id>>.editLink").style.display="none";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2016 01:41 PM
The issue is that mine shows as a pencil button and not an link like yours so maybe it doesn't work the same? If I do the editLink and currency (same code, just swapping the 2 names), the currency drop down is hidden but the edit button is not. I just want to hide the edit button because it doesn't calculate totals properly on procurement when it updates the field. In FUJI UI15 this showed as "Edit" but now it's a pencil icon in Geneva UI16.
I've tried inspecting the item in my browser. The id is still proc_po_item.cost.editLink but after my onLoad hides it, it pops back up on the form.
If I add an alert("test"); after the display command, I can see that it disappears until I click "ok" when it reappears:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2016 01:56 PM
Odd, if I deactivate this script I see the pencil as well, so at least I know the correct one is editlink. One thing I did along with this, just to ensure correct default currency, is deactivate all currencies except the one I needed (CDN).
I am wondering if this is a UI16 concern. We had several issues with UI16 and browser compatibility, so I deactivated it and stuck UI15.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2016 04:25 AM
Can I ask what were some of the big issues with UI16? I'm just testing it now.
I can't disable other currencies. I disabled all but USD and CAD because they need to sometimes enter in US dollars. But the currency field is still displayed and that's okay--they can set it. I tried hiding it with the edit button and the edit button still displayed so it's not a factor in why the edit button won't hide. There must be something still loading it.
Oh well, maybe something that will work in the future. I wish they gave us an attribute to hide it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2016 06:53 AM
Well, we went no further on our testing when we found it was not compatible with our version of IE10 in Citrix. For some reason, most likely being compatibility settings that must be turned on for our older apps, it causes the form to block, and basically become unusable.
If I find something on the web that will assist in hiding the editlink, I will be sure to share.
Good luck!
