[OE-3561] fixed validation so text fields are only required if the checkbox is ticked.