All users in my org are getting below error for required fields inspite of filling required fields using magnifying glass lookup icon and trying to save a record on a Standard Pagelayout.

These two lookup fields are required on field level

There are no validation rules on this object and user's profile has read,create,edit,view all permission on custom object

Error: You must enter a value


  • 2
    Those are lookup fields, are there records on those related objects that correspond with the values you are trying to enter?
    – CyberJus
    May 28, 2015 at 16:10
  • yes there are records on those related objects with the values
    – sfdc
    May 28, 2015 at 16:11
  • Did you select them using the magnifying glass lookup icon or just entered the text?
    – CyberJus
    May 28, 2015 at 16:14
  • 2
    Ok, how about is this a standard page or custom VF page? Are these fields required via the page layout or required in the object model? Are there any workflows or processes on this object that would adjust those fields?
    – CyberJus
    May 28, 2015 at 16:24
  • 1
    Required on field level
    – sfdc
    May 28, 2015 at 16:26

1 Answer 1


I figured it out.There was a Before Insert trigger on custom object which was auto populating Contact,Building from Case and when the Contact or building is blank on Case we are getting this error.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .