Activity › Forums › Salesforce® Discussions › How do I check if a field is empty in Salesforce? Salesforce® Discussions How do I check if a field is empty in Salesforce? Posted by Ratnesh on June 8, 2020 at 6:16 AM How do I check if a field is empty in Salesforce? Pooja replied 5 years, 11 months ago 5 Members · 4 Replies 4 Replies Deepak Member June 8, 2020 at 6:44 AM There is one way to validate empty text fields in Apex: Use String. isBlank() method. This will return true if the text field is empty. [adinserter block='9'] Sumit kumar Member June 8, 2020 at 7:24 AM ne way to validate empty text fields in Apex: Use String. isBlank() method. This will return true if the text field is empty. Shweta Member June 8, 2020 at 2:45 PM There are a few options to validate empty text fields in Apex: We can use String.isBlank() method, this will return true if the text field is empty. Pooja Member June 8, 2020 at 4:03 PM We can use String.isBlank() to find empty field in Salesforce. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me