stupid pb (Date)....

  • zesharck
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago #58864 by zesharck
stupid pb (Date).... was created by zesharck
Hi there,

well I have a stupid pb with the birthday date in my custom field :blush:
instead of showing it like YYYY-MM-DD I would like to show it like DD-MM-YYYY

How to do this ?

thx for your help guys !!!!!

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

More
9 years 1 month ago #58868 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stupid pb (Date)....
Hi

Unfortunately, it is not possible to do that at the moment. Right now, the date format of the date time custom field must be hardcoded with the format YYYY-MM-DD.

That's something which I will focus to solve in the next release. Please give me one or max two weeks for doing that

Regards,

Tuan

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

  • zesharck
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago #58869 by zesharck
Replied by zesharck on topic stupid pb (Date)....
Hi Tuan,

arff bad news...ok try to do it asap mate ;)

thx for your fast answer.

Z.

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

More
9 years 1 month ago #58896 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stupid pb (Date)....
I will. Please wait for good news from me :)

Tuan

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

More
8 years 11 months ago #62257 by nicolas ferellec
Replied by nicolas ferellec on topic stupid pb (Date)....
Hi,
I have the same problem with the birthday format YYYY-MM-DD
Can the system at least verify the cell content and display error message if the format is wrong before to save the form?
I have many incorrect data even if I clearly mention the format to use in the form

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

More
8 years 11 months ago #62279 by FrankM
Replied by FrankM on topic stupid pb (Date)....
Your custom field can validate the input. Go to "Fields Manager:Edit Custom Field".

Switch "Date type validation" to "Past Date"

Edit the code in "Validation rules" to:
Code:
validate[required,custom[date]]

That's it. Your custom field will check for date before "today". Give it a try ;)

Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5

Sorry, english isn't my native language.

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

More
8 years 11 months ago #62285 by nicolas ferellec
Replied by nicolas ferellec on topic stupid pb (Date)....
It woks. Thanks

Where can I learn more about the code for the validation rules ?

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

More
8 years 11 months ago #62296 by FrankM
Replied by FrankM on topic stupid pb (Date)....

Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5

Sorry, english isn't my native language.

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

More
8 years 11 months ago #62316 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic stupid pb (Date)....
Events Booking uses jQuery validation engine, so you can use any validation rules supported by it. Take a look at the documentation at posabsolute.github.io/jQuery-Validation-Engine/#validators to see all the supported validators

Tuan
The following user(s) said Thank You: FrankM

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

More
8 years 11 months ago #62728 by Roger
Replied by Roger on topic stupid pb (Date)....
Hi Tuan

I have the same problem, did you get this implemented yet?

Thanks

Roger

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

Moderators: Tuan Pham Ngoc