
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 09:08 AM
I know that it is possible for users to email information via the Email Client option available for table forms like incidents. There is some concern that users could be including confidential information. Is there a way to run an onload script to post a warning? I was looking at the Email Client Templates and there doesn't appear to be something that I can directly hook onto for the onload action. Anyone know if this is possible?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2025 11:55 AM
KKM's UI Script code with a few modifications worked for me.
(function() {
function showWarning() {
if (window.top.document.title.includes("Compose Email")) {
alert("Warning: Do not include confidential information in emails.");
}
}
window.onload = showWarning;
})();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 01:44 PM
A global UI Script should load with every page. So you can just check the URL to see if its the email_client page and if it is do something. But because its a special page it may not load any UI Scripts, so you need to test that by just do a simple script that pops up an alert and then open the email client and see if you get the alert. If you do then you can use that, if you do not then you are stuck.