- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 11:19 AM
Hi: I am looking to add a placeholder on this field:
I found this client script but it applies to the lookup box not the email box.
Any idea how to do that?
Thank you! Rita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 11:57 AM
@ritaaudi Can you write a onLoad Client script with the below code. it is working for me.
function onLoad() {
var userEl = g_form.getElement("sys_display.incident.watch_list");
if (userEl) {
userEl.placeholder = 'Enter User test';
}
var emailEl = g_form.getElement("text.value.incident.watch_list");
if (emailEl) {
emailEl.placeholder = 'Enter Address test';
}
}
…………………………………………........................................................................................
Please Mark it helpful 👍and Accept Solution ✅!! If this helps you to understand.
…………………………………………........................................................................................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 11:57 AM
@ritaaudi Can you write a onLoad Client script with the below code. it is working for me.
function onLoad() {
var userEl = g_form.getElement("sys_display.incident.watch_list");
if (userEl) {
userEl.placeholder = 'Enter User test';
}
var emailEl = g_form.getElement("text.value.incident.watch_list");
if (emailEl) {
emailEl.placeholder = 'Enter Address test';
}
}
…………………………………………........................................................................................
Please Mark it helpful 👍and Accept Solution ✅!! If this helps you to understand.
…………………………………………........................................................................................