Changing field properties accordig to certain phase

Changing field properties accordig to certain phase

Hi,

I would like to know how can I make an automation, so that when the phase field in potentials changes to a certain phase another field converts to mandatory?

Thanks