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


i have created event post type in wordpress. have put starting date , ending date acf datepicker.

i want admin can select ending date greater starting date.

is there way restricting starting date , ending date?

for example, if admin choose 1st jan 2016 starting date, can select ending date 1st jan or greater selected date.

i think can java script , use code set limit of end date :

$( ".selector" ).datepicker({   mindate: new date(  ) }); 

Comments

Popular posts from this blog

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -