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
Abhinav AdminAbhinav Admin 

Date Validation Check

HI All,
      I am Creating a Visualforce Page in that I Have To date fields Start Date and End Date. Now My Requirement is to not Accepting Previous date in Start Date field. so can any one plese help with the appropriate Code.


Thanks&Regards,
Abhinav
 
ManojjenaManojjena
Hi Abhinav,

Check below link it may help you .In this custom date picker is there which will not allow user to select previuos date .

http://manojjena20.blogspot.in/2015/05/custom-date-picker-to-restrict-user-to.html

Let me know if it helps .

Thanks 
Manoj
Abhinav AdminAbhinav Admin
Thanks Manoj,

                   Its Working fine but i need not to select the end date prior to start date. Is there any code for that one if it was please give code for that one also.

Thanks&Regards,
Abhinav
ManojjenaManojjena
Hi Abhinav ,

For that you need to ceate a validation rule .I don't think it is possible for dynamically set date .I will check later and update that blog  .
Thanks for your query .Go forward with validation rule .

Thanks
Manoj