Mandatory Custom Fields

How do I indicate that certain custom fields are mandatory, like putting an asterisk or star mark next to those fields.

Inside of a web form or internal form, if you click on the field, there is a toggle for ‘required’.
That puts an asterisk on its and doesn’t allow form submission without that field being completed.