Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    From the looks of it, that Multidates Picker is a plugin on its own, so you’d just download it from GitHub, and install it like any other plugin in WordPress.

    You definitely do not want to put it in the primary CMB2 plugin folder, because it would get lost any time you apply an update to the core plugin.

    Thread Starter deroen

    (@deroen)

    Thank you. Is there a option in CMB2 that i can validate a “Date” where one is the Starting-Time and the other is the Ending-Time. And the Ending-Time has to be after the Startin-Time. If it is not after that Time, it will give me an warning like the “Field-type: Required” or “Attribute-type: min”. That would be nice to code at my own such Fields who triggers a warning like these Fields.

    The picture how it looks in the Unserinput and in the Backend are in this link:
    https://wordpress.stackexchange.com/questions/356633/cmb2-toolkit-compare-2-dates-and-validate-the-time

    Maybe i have to code it at my own somehow?

    Should i make A second Thread for this Question?

    • This reply was modified 4 years, 10 months ago by deroen.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Nothing built in that I’m seeing.

    It feels like it’d be best as some sort of javascript/jquery solution as that’d be the most inline with when working with the fields and wouldn’t hopefully require any server communication. Just a case of comparing the dates, and then toggling the view of a quick message.

    Thread Starter deroen

    (@deroen)

    Ok Thank you

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘where to put the 3rd party ressource’ is closed to new replies.