Home › Forums › General Issues › Select a range between two dates › Reply To: Select a range between two dates
There are possibly two solutions.
The first and easiest is to use two date fields, like you suggest and assume that the person creating the dates understands that the end date should be after the start date. This is what I’d do.
The second would be to build custom JavaScript for your end date field and not allow dates that are before the start date. I would only do this if someone insisted.
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.