Salesforce Certified Platform App Builder — Question 121
Which Validation formula is valid to make sure Phone & Email fields are filled in when converting a Lead?
Answer options
- A. IsConverted = TRUE && (ISBLANK(Phone) && ISBLANK(Email)
- B. IsConverted = TRUE && OR(ISBLANK(Phone), ISBLANK(Email))
- C. IsConverted = FALSE && (ISBLANK(Phone) && ISBLANK(Email)
- D. IsConverted = TRUE && OR(Phone, Email)
Correct answer: B
Explanation
The correct answer is B because it checks if the Lead is converted and ensures that at least one of the Phone or Email fields is blank, thereby enforcing that at least one must be filled. Option A incorrectly uses '&&' instead of '||', which would validate if both fields are empty. Option C checks for a condition where the Lead is not converted, making it irrelevant. Option D incorrectly uses OR without checking for blank values, which does not enforce the requirement.