Date validation for start and end date

Support Meta Box AIO Date validation for start and end date

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47460
    Julian SongJulian Song
    Participant

    There are two dates in the custom field: the start date and the end date.
    How can I validate that the end date is after the start date?

    #47476
    PeterPeter
    Moderator

    Hello Julian,

    Thanks for reaching out.

    I'm afraid that Meta Box doesn't support an option to validate that the end date is after the start date or any specific case. You can create your own Javascript code to validate the input date, refer to this topic https://stackoverflow.com/questions/68092463/notify-when-the-end-date-is-earlier-than-start-date

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.