Title: Please help with basic date picker customization
Last modified: August 22, 2016

---

# Please help with basic date picker customization

 *  [julesjules](https://wordpress.org/support/users/julesjules/)
 * (@julesjules)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/please-help-with-basic-date-picker-customization/)
 * For date picker on all my forms, I need dd-mm-yy instead of default mm-dd-yy
 * Cannot get it to change, alhough I tried to follow these instructions:
    [http://vfbpro.com/2012/02/23/how-to-customize-the-date-picker/](http://vfbpro.com/2012/02/23/how-to-customize-the-date-picker/)
 * I’m not familiar with how this works. I’ve been struggling a long time, unable
   to get the date format to change. Wrong date format is a big problem for my form
   users. I will be VERY grateful for help!
 * Code below for new file functions.php that I uploaded to child theme, and new
   file my-js2.js in sub-folder js
 *     ```
       <?php
       function my_scripts_method() {
          wp_register_script( 'my-js-file',
              get_template_directory_uri() . '/js/my-js2.js',
              array( 'jquery' ),
              '1.0',
              false );
   
          wp_enqueue_script( 'my-js-file' );
       }
   
       add_action( 'wp_enqueue_scripts', 'my_scripts_method' );
       ?>
       ```
   
 * This is my js file:
 *     ```
       jQuery(document).ready(function($) {
           $.datepicker.setDefaults({
               dateFormat: 'dd-mm-yy'
           });
       });
       ```
   
 * [https://wordpress.org/plugins/visual-form-builder/](https://wordpress.org/plugins/visual-form-builder/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [julesjules](https://wordpress.org/support/users/julesjules/)
 * (@julesjules)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/please-help-with-basic-date-picker-customization/#post-5182118)
 * Good news: I discovered datepicker format can be set by updated vfb plugin. You
   can now edit date format in the form design.
 * Bad news: vfb documentation had not been updated. Instructions tell users to 
   edit functions.php etc… so users spend a HUGE amount of time on something that
   does not work… duhhhh!
 * New date format setting within form designer is really nice – thank you! But 
   new feature may not be found by users who built their forms way back with previous
   version of vfb. Urgently need update of that documentation page please:
    [http://vfbpro.com/2012/02/23/how-to-customize-the-date-picker/](http://vfbpro.com/2012/02/23/how-to-customize-the-date-picker/)
 * I’m leaving this post unresolved and hope vfb people will acknowledge request
   for updating doco page.

Viewing 1 replies (of 1 total)

The topic ‘Please help with basic date picker customization’ is closed to new replies.

 * ![](https://ps.w.org/visual-form-builder/assets/icon-256x256.png?rev=1205840)
 * [Visual Form Builder](https://wordpress.org/plugins/visual-form-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-form-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-form-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-form-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-form-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-form-builder/reviews/)

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [date picker](https://wordpress.org/support/topic-tag/date-picker/)
 * [parent](https://wordpress.org/support/topic-tag/parent/)

 * 1 reply
 * 1 participant
 * Last reply from: [julesjules](https://wordpress.org/support/users/julesjules/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/please-help-with-basic-date-picker-customization/#post-5182118)
 * Status: not resolved