nerdexam
Salesforce

CRT-211 · Question #187

On the Contact record, if a contact has the value of 'CEO` in the Title field, the administrator wants to require the users to also put a phone number in the Phone field. What formula should the…

The correct answer is C. Title = 'CEO' && ISBLANK(Phone). The error condition formula of a validation rule should return TRUE when the validation rule should fire and display an error message. In this case, the validation rule should fire when the Title field has the value of CEO' and the Phone field is blank. The formula Title = CEO'…

Extend Custom Objects and Applications

Question

On the Contact record, if a contact has the value of 'CEO` in the Title field, the administrator wants to require the users to also put a phone number in the Phone field. What formula should the administrator put in the Error Condition Formula of a validation rule to enable this?

Options

  • ATitle = 'CEO' && NOT(ISBLANK(Phone))
  • BTitle <> 'CEO' && NOT(ISBLANK(Phone))
  • CTitle = 'CEO' && ISBLANK(Phone)
  • DTitle <> 'CEO' && ISBLANK(Phone)

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    17% (6)
  • C
    72% (26)
  • D
    8% (3)

Explanation

The error condition formula of a validation rule should return TRUE when the validation rule should fire and display an error message. In this case, the validation rule should fire when the Title field has the value of CEO' and the Phone field is blank. The formula Title = CEO' && ISBLANK(Phone) returns TRUE when both conditions are met, and FALSE otherwise.

Topics

#validation rule#error condition formula#ISBLANK#conditional required fields

Community Discussion

No community discussion yet for this question.

Full CRT-211 Practice