Skip Navigation

[Resolved] Customizing CRED post fields

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

Problem:
How to change CRED date field datepicker format

Solution:
Using jQuery you can change CRED date field format

You can find proposed solution with the following reply:
https://toolset.com/forums/topic/customizing-cred-post-fields/#post-401127

Relevant Documentation:
http://stackoverflow.com/questions/1328025/jquery-ui-datepicker-change-date-format

This support ticket is created 7 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by volodiaB 7 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#400805
cred_english_fields.png

Hello,

I am using the Toolset CRED plugin to create an ordering form in French. The thing is that some fields are displayed in English (see print screen) :
- Date field does not have the format I'd like (d.m.Y) and the text "Clear Date" should be replaced by "Supprimer la date"
- Adress field's placeholder should be empty and "Show/Hide coordinates" link is not necessary.

Can you help me set these changes up?

Regards,
Volodia

#401127

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

- Date field does not have the format I'd like (d.m.Y) and the text "Clear Date" should be replaced by "Supprimer la date"
=> To change date picker format you should try to use jQuery.
The following link may help you:
http://stackoverflow.com/questions/1328025/jquery-ui-datepicker-change-date-format

For example:

$( ".selector" ).datepicker( "option", "dateFormat", 'yy-mm-dd' );

To translate the "Clear Date" string, you should try to use following code. Please adjust the code as per your need:
https://toolset.com/forums/topic/how-to-translate-the-clear-button/#post-366817

- Adress field's placeholder should be empty and "Show/Hide coordinates" link is not necessary.
=> if you do not want display "Show/Hide coordinates" link, you may use CSS or jQuery to hide it same for placeholder.

#401264

Great, it works. Thanks !

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.