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

validation - Gravity Forms validate arrival and departure

programmeradmin1浏览0评论

I am working recently with GF and encounter the first problem: I have two datepicker; one is "arrival" and one is "departure".

Now - of course - the "departure" can't be before "arrival". I've found this script on Git, but I can't get it to work.

Any idea, another workaround to manage this - a fix?

Thanks in advanced.

I am working recently with GF and encounter the first problem: I have two datepicker; one is "arrival" and one is "departure".

Now - of course - the "departure" can't be before "arrival". I've found this script on Git, but I can't get it to work.

Any idea, another workaround to manage this - a fix?

Thanks in advanced.

Share Improve this question asked Jan 24, 2016 at 17:37 BrainBUGBrainBUG 358 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If you're using Datepicker Date fields, I've written a plugin that makes this a lot easier and more intuitive for the user by enforcing this limit in the datepicker itself when they're actually selecting the dates. It's called GP Limit Dates:

http://gravitywiz/documentation/gp-limit-dates/

发布评论

评论列表(0)

  1. 暂无评论