Validate Date Before Date

  • Marius Lindemann
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago - 2 years 6 months ago #154232 by Marius Lindemann
Validate Date Before Date was created by Marius Lindemann
Hi everyone.

We need to validate a date (birthday) if its past date1 and before date2, because our booking is only for teenager between 12 and 17 years. I read the usage of Valitron (Eventbooking wrote they use that) but i don't know what i have so set into validationrules. Is there a easy way without a new .php file?
After a Date works without problem with the type "past date".

Thanks for helping!
Last edit: 2 years 6 months ago by Marius Lindemann.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #154236 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Validate Date Before Date
Hello Marius

What is the value of Validation Rules which you configured for the field at the moment? Similar to past[date] rule, you can append future[date] rule to that setting and it should work OK

Tuan
The following user(s) said Thank You: Marius Lindemann

Please Log in or Create an account to join the conversation.

  • Marius Lindemann
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 6 months ago #154259 by Marius Lindemann
Replied by Marius Lindemann on topic Validate Date Before Date
Hi.

Thanks for your very fast anwser, works fine!
Maybe for the next updates: A "?" Sign and a popup at Click or Mousover with all the Validation Shortcuts or a link to a faq-site with the shortcuts?

Problem solved, thanks!

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc