Skip Navigation

[Resolved] How can I change the Cred Post Form Date Format

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to use a different date format when displaying the selected dates in a Form.

Solution: The following date formats are supported in Toolset Forms:
F j, Y = December 23, 2011
Y/m/d = 2018/12/24
m/d/Y = 12/24/2018
d/m/Y = 24/12/2018
j F Y = 24 December 2018

If you choose one of these formats in Settings > Global, it will be used for the date field. Other formats are not currently supported. You may be able to use custom code to specify your own date format using the jQuery datepicker API, but support for implementing other formats is not available here in the forums.

Relevant Documentation:
http://api.jqueryui.com/datepicker/#option-dateFormat

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 4.00 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Adnan 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1071509
toolset-1--post-form-date-field.jpg

I am trying to: use a date field in the post form

Link to a page where the issue can be seen:
hidden link

I expected to see: a Date that is formated like 10. August 2018

Instead, I got: August 10, 2018

maybe you have an idea. thank you

#1071577

Hi, Forms date fields support the following formats:
F j, Y = December 23, 2011
Y/m/d = 2018/12/24
m/d/Y = 12/24/2018
d/m/Y = 24/12/2018
j F Y = 24 December 2018

If you choose one of these formats in Settings > Global, it will be used for the date field. Other formats are not currently supported. You may be able to use custom code to specify your own date format using the jQuery datepicker API, but support for implementing other formats is not available here in the forums.
http://api.jqueryui.com/datepicker/#option-dateFormat

Feel free to create a new ticket using the "Suggest an improvement" feature here in the forum if you'd like to request support for additional date formats. Our developers will evaluate the request and let you know if it's something we can implement.

#1072525

Thank you Christian.