Can the middle initial be removed from the name field on the Customer form?
Client seems to be perturbed that there is a middle name field on the customer form. Is there an easy way to remove it? I have reviewed in SuiteAnswers and I’d prefer not to make a custom field.
Rookie Asked on March 10, 2020 in How To's.
You should be able to use a UE script (beforeLoad) to get the ‘middlename’ field (via the ui/serverWidget Module) and then use the .updateDisplayType() method to set the field type to ‘hidden’
Worth noting that this is not achievable via the normal method of changing the field type (to ‘hidden’) on the custom entry form, as NS lumps the ‘firstname’, ‘middlename’ and ‘lastname’ fields into a single ‘Name’ field