Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

224
Views
Display today's date with month by name instead of month number in Contact Form 7

Our Contact Form 7 form displays today's date on form load with this code:

[date today-date "Today"]

This gives us Today's date of 04/16/2022.

We would like to format the date to display date by month name.

For instance, April 16, 2022

Any ideas if this is possible?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Short answer: no

Long answer: the format of the <input type="data" value="2022-04-16"/> field is set by the browser and not CF7, furthermore it cannot be custom formatted. There is a whole question/answers thread dedicated to this issue on stackoverflow.

The simplest way to solve this is to use a text input field instead and convert it to a date field using the the jQuery datapicker which has the advantage of being loaded from WP core.

  <script>
  $( function() {
    $( "#datepicker" ).datepicker("option", "dateFormat", "d M yy" );
  } );
  </script>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!