RE: Mask FullName on Contact Entity
Hi partner,
You could try this way.
1.Create three custom fields named firstname1, middlename1, lastname1 in Contact and put them on the form and hide fullname field on the contact form at the same time.
2.Enable field security of firstname1, middlename1, lastname1.
3.Create a workflow when creating a new contact. When we create a new contact, the system will assign the value of firstname1, middlename1, lastname1to fullname.
4.Update the values of the full name field to firstname1, middlename1, lastname1 fields in bulk.
This allows us to solve the problem of native fullname field not being able to set field security.
5.About how to hide the name of the contact in the image on the top left of the form, we could use js to do this.
First we get the div id of contact name from F12 development tools.
Then we add the following code to "Onload" event of contact form and publish.
var hide = true;
var interval = null;
function hideName(){
interval = setInterval(function () {
var element = parent.document.getElementById("FormTitle");
if (element != null && hide == true) {
hide = false;
element.style.display = "none";
clearInterval(interval);
}
}, 1000);
}
Hope it helps.
Best Regards,
Leo