I added a custom field in item doc as item division with option cosmetics and consumable.
and also another field as item usage.
I need to display item usage only when I select cosmetics in the item division.
Anyone please help me to write custom script for this.