The following article showssteps to hide a certain field for specific Role using Customized Form, in thiscase Lead Source field on Customer record.
- Create new Custom Entity Form under Customization > Forms > Entry Forms.
- Edit or Customize next to the default Customer Form.
- Uncheck Form is Preferred.
- Switch to Fields subtab
- Uncheck Show next to the Lead Source (it is located in Marketing sublist).
- Switch to Roles subtab.
- Check Preferred next to the role that shouldn't see Lead Source field.