Skip Navigation

[Resolved] Make the date field display the day of the week?

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

This topic contains 2 replies, has 2 voices.

Last updated by Valeriia 6 years, 6 months ago.

Author
Posts
#914190

Hi,

Is there a quick (or not so quick) fix to make the date field in the form display the day of the week as well?

Example: Sat, June 16, 2018.

Thanks.

#914222

No, since Toolset Forms (and Types too) uses a JS library for that which we do neither provide hooks or GUI to customize, this is not possible.
You can however modify the formats like this:

jQuery(window).bind("load", function() {
   jQuery( ".js-wpt-date" ).datepicker( "option", "yearRange", "2002:2015" , ).datepicker( "option", "dateFormat", 'yy-M-dd' ).datepicker("setDate", 'November 24, 2017');
});

dateFormat schuld be possible to extend to some other options:
hidden link

But as far I see, that is merely for what's used as value, to be shown in the input, not the picker itself, that one cannot be edited so easily

#914641

Hi Beda,

I see. Will try on my own.

Thanks for helping.