A have written a plugin to customize the way that fullname on a contact entity is formatted. I have a custom field whose value I want to incorporate into the fullname. The plugin is working fine as far as saving the record.
However, in the contact form, I have having trouble getting the page to "ignore" the fullname field and it's "popup". I have added the FirstName and LastName fields to the form, and also added all custom fields that are needed to compute the fullname. When creating a new contact record on this form, I have entered values for FirstName and LastName and for my custom field and then selected the "Save" button. Instead of saving the record, CRM shifts focus the the fullname field and displays the popup control, showing the FirstName and LastName fields (with my populated values) and an "OK" button. I am forced to click OK and then click save again. This will not work for my users.
I also attempted to "hide" the fullname field (even though it is required), but CRM displays it anyways. I've also tried to write some javascript to set the fullname field value, but it has not affect.
Is this a behavior that I am going to be able to work around using JavaScript or some other configuration?
If not, I will probably just ask users to enter FirstName and LastName through the popup and not display these fields seperately, but that solution causes a confusing inconsistency between the fullname that is displayed to the user and the value that is actually saved.
*This post is locked for comments
Dear Larry,
You can add last name field on contact form, and make first name and last name fields not business required from their property, then hide full name field from contact form.
Then make a business rule to make sure that last name field must contain data, also change the display name for last name to full name.
Regards,
Abed.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156