In my custom DocType, I have a field not mandatory, called
Then I have other fields about inner carton such as length and weight. Also these fields are not mandatory.
inner_carton is not empty, but it contains a value, I would that related fields becoming mandatory.
How can I implement this in DocType or through a custom script?