Support

Account

Home Forums General Issues Validating date/time fields for scheduling conflicts

Helping

Validating date/time fields for scheduling conflicts

  • Hi there,
    I have a custom post type. Inside that custom post type I have several date and time fields.
    1: start and end date of the post itself
    I’d like to learn how I can validate the date info to make sure it doesn’t overlap with the start and end date of another posts start and end date. (so only one will be live at a time)

    2: I have artwork start and end dates inside each post type so several can be scheduled inside the post itself
    – I’d like to make sure the artwork start and end dates can only be set to within the posts start and end date

    Any ideas on how I can accomplish this?

  • So I’ve figured out #2 but #1 is the tricky part

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.