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 个回答
  1. 2015年4月28日 05:44
    Hi Nikkey ,

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