admin管理员组

文章数量:1325409

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/

本文标签: validationGravity Forms validate arrival and departure