function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
minnuchcloud@gmail.comminnuchcloud@gmail.com 

Validation rule help

Close date should be feature date but should not be in current month of current year

Best Answer chosen by Admin (Salesforce Developers) 
sfdcttslsfdcttsl

MONTH(CloseDate) <=(MONTH(TODAY()))

 

Please try this...

 

All Answers

sfdcttslsfdcttsl

Build a validation like if user selects the close date with in this month he will get error to select the close date in next month.

 

Build a validation rule giving the below criteria in Error condition Formula

 

MONTH(CloseDate) ==(MONTH(TODAY()))

minnuchcloud@gmail.comminnuchcloud@gmail.com

Close date should be feature date, but in this it is accepting last month date also

 like  i choose August - 20- 2012 , but i need only feature date

sfdcttslsfdcttsl

MONTH(CloseDate) <=(MONTH(TODAY()))

 

Please try this...

 

This was selected as the best answer
minnuchcloud@gmail.comminnuchcloud@gmail.com

Than q