I have a requirement like if i select past date it should thrown an error.

  • 1
  • Question
  • Updated 8 months ago
  • Answered
I have a requirement like if i select past date it should thrown an error.
It should take if i select today or future date on my date field.

Can any one help me on this.
Photo of raj

raj

  • 840 Points 500 badge 2x thumb

Posted 8 months ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
raj,

Since you are on Salesforce, I would add a validation rule to the field to validate that it is a future date.  Take a look at this link:

https://success.salesforce.com/answers?id=90630000000hO11AAE

Thanks,

Bill