Mark fields that failed validation

SOLVED

Due to different screen resolutions and window sizes the red arrow, that points to requrired fields that failed validation due to not being filled in, sometimes points to wrong fields when the row couldn't fit the arrow anymore.

I used this tutorial https://www.greytrix.com/blogs/sagecrm/2013/06/04/display-background-color-on-required-fields-in-sage-crm-v7-2/ to mark required fields on screens by giving them a background color. Is there anything similar I could us in Sage CRM 2019 R2 to mark fields that failed validation?

Thanks in advance

Norman