Anyone done a "Hightlight missing mandatory fields...
# suitescript
w
Anyone done a "Hightlight missing mandatory fields" client script they can share? I'm thinking of doing some DOM-manipulation to set a glow/background for the field red or something like that.
Untitled.js
🙌 1
If anyone is interested, I did this
b
you can use
Copy code
const element =
  document.getElementById(field.id) ||
  document.getElementById(field.id + "_display");
to avoid getting the same element twice
✅ 1
w
Thanks!