>>“This feature works fine for making properties mandatory when moving deal stage but apart from moving deal stage, we need to make properties conditionnaly mandatory.”
No, this solution works when MOVING, CREATING, AND CLOSING deals. Conditionally mandatory properties were not asked for or referenced in the original query here.
Good idea -- in the proper context.