Validation Rules

More
3 years 2 months ago #149704 by Heiko Meißner
Replied by Heiko Meißner on topic Validation Rules
Hi!
I want to hang in here...

How can i validate, if a date is in the future from Eventdate?
I tried required,custom[date],future[now] on Validation Rules, but it doesnot work.

btw: the new link to jquery validation is: github.com/posabsolute/jQuery-Validation-Engine

And another question for the date: how can i change the format shown by calendar-picker? its yyyy-mm-dd H:i:s - i just wanna dd-mm-yyyy. is it on field settings?

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

More
3 years 2 months ago #149733 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Validation Rules
Hello

1. Unfortunately, there is no option to validate a date base on event date as you requested

2. For date format of the date picker, that's a bug of your site template. Please check your site template to see if it has an override for calendar form field layout at PATH_TO_TEMPLATE/html/layouts/joomla/form/field/calendar.php . If you found that file, rename it to something else should address the issue

Tuan

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

More
3 years 2 months ago #149740 by Heiko Meißner
Replied by Heiko Meißner on topic Validation Rules
thanks for your fast and competent answer - as always.
you were right, helix calendar.php overwrite was the problem.
 

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

More
3 years 2 months ago #149743 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Validation Rules
Yes. Unfortunately, there are few errors with Helix, it was reported but for some reasons, they haven't fixed it yet (one issue was reported few months ago :( ).

Hope they will fix these issues soon

Tuan

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

Moderators: Tuan Pham Ngoc