ChronoEngine.com homepage

Forums

Issue with date format in CF7

H
hpeterse posted Dec 5, 2020 at 11:16
I've created a calender form field in CF7 with display and real format DD/MM/YYYY. When I enter a date value 5/12/2020, CF7 interprets this a the 12th of may 2020 instead of the 5th of december 2020. After entering the data, CF7 changes the data into 12/5/2020. I think this is a bug.
Max_admin posted Dec 5, 2020 at 14:44
how do "enter" the date value ? you type in the field ?
Max
ChronoForms developer...
ChronoForms v8 is out, do you have any suggestions? please let us know.
H
hpeterse posted Dec 5, 2020 at 15:58
Yes
H
hpeterse posted Jan 7, 2021 at 09:21
Just updated CF7 to 7.0.7, but this bug with the date-format is still not solved. Hope you can solve it in next release.
Regards, Hans
G
gerardBolhuis1964 posted Feb 3, 2023 at 10:47
i put in date 8 febr 2023 it shows 8/2/2023

please put in the european date format dd-mm-yyyy
Max_admin posted Feb 17, 2023 at 15:49
You can format dates with the syntax provided!
Max
ChronoForms developer...
ChronoForms v8 is out, do you have any suggestions? please let us know.
L
lars.hillen@gmail.com posted Mar 5, 2023 at 08:16
I have the same problem. I used the format DD.MM.YYYY, nonetheless it is changed to english format, when entering the inputfield.
Max_admin posted Mar 18, 2023 at 03:31
Answer
I put "DD.MM.YYYY" in the display format and it shows "18.03.2023"
Max
ChronoForms developer...
ChronoForms v8 is out, do you have any suggestions? please let us know.
L
lars.hillen@gmail.com posted Mar 18, 2023 at 18:21
I think you didn't comprehend the problem (anyway like I have).
The (european) format and the value is right after entering via date picker. But when the user - after that - enters the input field (clicks on it), the format changes, so the value gets wrong.
Max_admin posted Apr 4, 2023 at 05:17
what if you add a mask to the field to force a specific value format or make it read only ?
Max
ChronoForms developer...
ChronoForms v8 is out, do you have any suggestions? please let us know.
L
lars.hillen@gmail.com posted Apr 4, 2023 at 16:49
I think both, 'value mask' an 'read only' are options that are only available for 'text'-fields not for 'calendar'-fields.
R
Rollo71 posted Apr 5, 2023 at 14:43
1 Likes
I too had this problem.
You can make the field 'calendar' readonly by adding the 'HTML Tag Attribute' task in the INTERFACE and setting a custom HTML Attribute with the following values 'readonly true'.
In display mode remember to select 'Popup Calendar'.
This forces the user to use the calendar to select the date and does not allow him to enter it manually, thus avoiding the error encountered.
L
G
Gatsman posted Apr 15, 2023 at 20:16
I also have this problem, it's good if this solution works for you and by all means use it but i don't think we should force the user to use only the popup calendar, some people for their own reasons (even accessibility issues) want and should be able to use the keyboard.
This should be addressed and solved at some point.
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com