+ Start a Discussion

Hide error message by custom button


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?



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


this is an url link, it is fixed thank you