• I edited the js file so I could have it work on the existing field name:

    jQuery(document).ready(function($) {
      $('#YOURFIELDNAMEHERE').datepicker({
         autoclose: true
      });
    });

    What I want now is to be able to have it work on multiple field names. Any idea how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author markob83

    (@markob83)

    Hey sorry for the late response.

    To use multiple instances of the Datepicker you should just be able to swap out the ID with a class name.

    ex.

    jQuery(document).ready(function($) {
      $('.SOMECLASS').datepicker({
         autoclose: true
      });
    });

    Hi,
    I can’t get it working.

    When I enter [text text-589 id:cf7-datepicker] in my CF7 form it doesn’t show up the calendar.

    See: https://www.fransveltkamp.nl
    menu Datum-test

    Did I do something wrong?

    Frans

    Plugin Author markob83

    (@markob83)

    @eric – I Updated the plugin. You can now use multiple datepickers on the same page. I’ve also added some features that are located in the WP settings menu -> ‘CF7 DatePicker’.

    @frans – Did you customize your theme at all? Try disabling other plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works great but needs more flexibility’ is closed to new replies.