How to disable past date selection in date field?

  • Profile Image
    Asked on October 11, 2017 at 06:04 AM
    Could you please tell me that I want to apply validation at a date field.
    I want user to only select the date of 2017 and so on ONLY
    Note: user should not select date from 2016.
  • Profile Image
    Answered on October 11, 2017 at 06:11 AM

    Please note that you can disable past dates in your date field. You may like to take a look at the following guides which should help you:

  • Profile Image
    Answered on October 11, 2017 at 06:43 AM
    Tell me what limit should I apply on date picker to limit 2016 and back years?
  • Profile Image
    Answered on October 11, 2017 at 06:56 AM

    Please refer to the following image:


    1. If you check the 'Past', you will see date from October, 2017

    2. If you set a start date, you will see the dates from that month and year. Previous dates will be disabled.

    Hope you can choose any of these as you see fit.

    Let us know if you have any further query.