Looking to make a field required ( in Yellow) based from the selected value ( in Green). If selected value in green is "REPLACEMENT" then the field Replacing becomes required.
I've tried setting up Field rules but with no success - any ideas on how to solve this?

LPL Code that I've tried:
Field Rules
Replacing
if (JobRequisition.ReasonForOpening.value == "REPLACEMENT")
required