• Enzo6034
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 6
    Replies
Hi,

I need help writing a validation rule. 

I have an custom account field (picklist) named XYZ.  I would like to create a validation rule for an opporuntity related to the account.
So if an opportunity is created and a picklist value other than N/A is selected it would require the user to type a hyphen into the Opportunity Name. 

I saw this from a list of validation rules.  FIND( " - ", Name ) = 0

Logically it sounds like this.  If ISPICKVAL XYZ_c <> N/A Then require "-"

Thanks in advance
  • May 08, 2008
  • Like
  • 0