Where can I change the functionality of the "Post" button on Journal Entries?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 11:57 AM
Hello,
Where can I find the script/function for the "post" button associated with "Additional Comments / Work Notes"?
I want to be able to hide it on a custom table / build one with different functionality, but I cannot find where it lives...
Thanks in advance for your help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 12:06 PM
Hi Matt,
Did you check property: glide.ui16.live_forms.enabled. Also, suggest you to follow link & look for its impacts.
Thanks,
Jaspal Singh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 12:39 PM
Hi Jaspal,
Thanks for the quick response! I see this is for enabling /disabling the feature as a whole, which is helpful information. Do you know of a way to this on a specific form or will this always be a global update?
As an example, instead of using the base system "Update" button on a custom table, I copied the UI action for "Update" into it's own UI Action so I did not have to edit the base system "Update" functionality. Am I able to achieve the same with the "Post" button here?
-Matt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 01:05 PM
Yes, its generic. If you want to make it specific for form then you can use onLoad Client Script that uses dom manipulation as below.
function onLoad() {
var removebutton=document.getElementsByClassName("btn btn-default pull-right activity-submit")[0];
removebutton.style.display="none";
}
Thanks,
Jaspal Singh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 05:47 AM
Hi Jaspal,
This works for hiding the post button, thank you! Is there a way to edit its functionality as well?