function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Custom List button to autopopulate lookup field is not working

I have created a customList button to autopopulate lookup field. Something like below:

The issue is I have custom field called Name. (API Name: Name__c)
When I click on this button, the standard name field is being overriden by the custom name field.( I made sure that I selected the standard name field).

Not sure how to prevent this. I cannot change the custom field API name/Label because it has many dependencies in triggers & classes etc.

So any workaround or suggestions are welcome.
Many thanks in advance :)