Search code examples
wordpressadvanced-custom-fields

How can I restrict Two dates in ACF date picker for Starting date and Ending Date in Wordpress?


I have created an event post type in Wordpress. For that I have put starting date and ending date from ACF datepicker.

I want admin can select Ending date greater than Starting Date.

Is there any way for restricting Starting Date and Ending Date?

For example, if Admin choose 1st Jan 2016 as starting date, then he can only select the ending date 1st Jan or greater then the selected date.


Solution

  • I think there is no possibilities for date restriction in acf in admin area.

    I may be done in acf's newer version.

    You can request from here...

    http://support.advancedcustomfields.com/forums/forum/feature-requests/