Hr employee registration form customization

Hi, I need to make an arrangement on the staff registration form. for example, for personnel working with a work visa, the start and end date of the visa, visa number, etc… but for domestic staff, these fields are not mandatory, and I also don’t want to show these fields. in short, for more than one type of personnel , how to prepare more than one registration form, by type of personnel.