[DocType - Depends On] condition to Show / Hide field in WebForm

I have tried to show / hide field based on other field’s value from DocType “Depends On”. But it’s working for desk view only and not for webform.

I was thinking of doing this from js file but Is there a way we can show / hide field in webform using Depends On in DocType or any other way?

getting the same issue, has anyone been able to achieve this in webforms?

even i m facing issue too