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.
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