Home › Forums › General Issues › Select a range between two dates › Reply To: Select a range between two dates
You can read about adding custom JavaScript for ACF here http://www.advancedcustomfields.com/resources/adding-custom-javascript-fields/
beyond that I’d be of little help. I have avoided using custom JS. Basically you’d need to detect the change of the end date field then get the value for the start date field and then alert an error if it’s not later.
Like I said, I don’t know exactly how to do it. I could figure it out if it was necessary. while doing this would be a nice addition, it it wasn’t included in the requirements, I would not go out of my way.
You might suggest it, but knowing what is in the conditional logic and what it can do making this part of ACF isn’t all that likely.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.