Skip to main content
Can any one help me out .How to write a validation rule for the past ,present and future year on  a object.Can i call this field in a visualforce page .Any example plz

 

 

 

OR (

YEAR(Sales_Plan__c ) <> YEAR (today().year() ),

YEAR(Sales_Plan__c ) <> YEAR (today().year() + 1 )

)

 

 
1 answer
  1. Apr 28, 2015, 5:44 AM
    Hi Nikkey ,

    Can you explain about your validation ,What excatly you want ? Which scenario it should fire ?
0/9000