Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to show the custom error message for a required field instead of system generated

edited Aug 20, 2020 5:33PM in Sales 4 comments

Summary

How to show the custom error message for a required field instead of system generated

Content

HI All,

 

How to show the custom error message for a required field instead of system generated error message.

 

I have scenario where user miss to skip the required field it generates the system error message Instead of that I wanted to make it Custom error message. I tried with throw new oracle.jbo.ValidationException("Please Enter Primary Contact to create Opportunity Record") but its not working still shows the system default.

 

Groovy Script: Field level for Primary Contact required flag is true and below is the condition

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!