Custom Script for updating field value depending on value of another field

While creating new item or editing existing item I want Material Request type of an Item to be depending on its Item Group.

Please help me with custom script while adding or editing new item.


Welcome to ERPNext,

This may help

The above link you will find here

Check out these

Lots of instructional videos too