最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - CMB2 toolkit: Compare 2 Dates and validate the Time

programmeradmin3浏览0评论

Hello i am using the CMB2-toolkit for Wordpress:

I have a Problem where i have 2 Datetimes, where one is the Starting-Time and the other is the Ending Time. Here is a picture how it looks in the Unserinput and in the Backend:

Now i would like to have an validate, when i have set the Event-End before the Event-Begin then i should be warn me like the attributes or parameter-fields "required=>" or "min=>" ().

I try to fix this but i do not know if i should code this or is it somewhere this solution?

Thank you

发布评论

评论列表(0)

  1. 暂无评论