Set default date of a date picker based on other date picker

Support General Set default date of a date picker based on other date picker

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by PeterPeter.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45203
    Stephen WalkerStephen Walker
    Participant

    I am working on an event system with a start date and an end date. I would like to have the default value of the end date to be whatever is selected in the start date and endure that the end date is never before the start date. The same requirement for a time picker. Is this possible?

    #45209
    PeterPeter
    Moderator

    Hello Stephen,

    Meta Box doesn't support that option. But I think it is possible if you use some custom Javascript code. Please read more about this case on this topic https://stackoverflow.com/questions/29122275/set-end-date-after-select-start-date

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