How make Address mandatory?

I want to make Address mandatory for each customer and supplier.

How I can do that?

You can custom the doctype you want and tick the field as Mandatory.
https://docs.erpnext.com/docs/v13/user/manual/en/customize-erpnext/customize-form

@Toto-tyou Did you try your solution?!

I think It will not work because the address in customer and supplier are rendered at the run time in the HTML field

I think you will have to write a script to make address mandatory after making supplier and customer. If you make it mandatory before then address will not be saved as there is no customer or supplier to which it’s supposed to be linked.

And what would happen to existing customer and suppliers who don’t have an address. Else you can add additional fields on the page and make fields mandatory. But I guess you may have tried that.

@Mohammed_Redha
Yes my bad I forgot it was a HTML field