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
Neha Ghosh 24Neha Ghosh 24 

removing error message on Custom button

Hello All, 

I built a Asset Tracking object in our salesforce instance to track our assets internally. I added a button called "Request Item" that kicks off an approval process to admin when submitted. Everything is working on that end, however, when the user (any user) clicks "Request Item" the error message. If they go through the form and fill out info, it's works perfectly fine, however i think the error message will throw people off. How do I remove it?

Error: Invalid Data. 
Review all error messages below to correct your data.

Pops up. It's due to the fact that the contact name has duplicates, so i'd like to remove the error message so it runs smoothly. This is the button code. User-added image

/a5V/e? 
CF00NC0000007IvpQ={!Contact.Name} 
&CF00NC0000007IvpQ__lkid={!Contact.Id} 
&CF00NC0000007J19p={!Account.Name} 
&CF00NC0000007J19p__lkid={!Account.Id} 
&CF00NC0000007J1DX={!TODAY()} 
&retURL=%2F{!Contact.Id}

Help Please!
bhanu_prakashbhanu_prakash
Hi Neha,
Mark as best answer, If it resloves !!​

if it is a validation rules try to deactive it from object(Asset tracking object), it will stop error.

Mark as resloved if it helps :) :)​
Thanks, 
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com/)
Shruti SShruti S
Could you please share the URL that you see on the address bar when you are on this page?
Neha Ghosh 24Neha Ghosh 24
There are no validation rules on this object. 

Below is the URL 

https://b-lab.my.salesforce.com/a5V/e?CF00NC0000007J19p__lkid=001C000000v6i1A&CF00NC0000007J19p=B+Lab+US+%26+Canada&CF00NC0000007IvpQ=Neha+Ghosh&CF00NC0000007IvpQ__lkid=003C000002K42Hc&CF00NC0000007J1DX=8%2F3%2F2018&retURL=%2F003C000002K42Hc
Shruti SShruti S
Sorry to say but this is an expected behaviour when you have one Contact with the same name.
Neha Ghosh 24Neha Ghosh 24
Is there a way to change the error message?