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
PetyaPetya 

Hide error message by custom button

Hi 

I have a custom java script button. When I click on the button I am linked to a standard salesforce page and I have there required fields, which must be filled, and immediately after opening the page I see an error message "Error: Invalid Data. Review all error messages below to correct your data." How can I avoid/hide this error message? The user can already see, that some fields are required and if he doesn’t fill the fields, this error message can be showed, but not before.

Is there any smart way to achieve this?

 

neeraj123neeraj123

Can u put the code here once. so that we can check.

PetyaPetya

this is an url link, it is fixed thank you