Thanks, that code works! However, if I go to any other field and change the value, the Closing Date field turns black again (not mandatory). The date stays there, but is there a way to leave it mandatory regardless of me changing other values (i.e. Detected By, Defect Category, etc.)?
Also, if I want to do a similar thing based on the Defect Category field (BG_USER_01). If the Defect Category = 'Configuration', the RICEFW_ID field becomes mandatory (BG_USER_02). If the Defect Category = 'DEV Object', the Process ID field (BG_USER_06) becomes mandatory. Else, nothing becomes mandatory.
Thanks so much for the help, I'm very new to coding and customizing workflows.