Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    here’s another article which may help you with this – http://www.hongkiat.com/blog/wordpress-datepicker-theme/

    Thread Starter fmpweb

    (@fmpweb)

    Hi angelo. Thanks for this – I’ve now managed to customise the design of the datepicker for the frontend event form and its consistent with other forms on the site. Great πŸ™‚

    However, I’m now struggling to customise the event form datepicker’s jquery. If I add the following to my functionality plugin:

    <script>
    jQuery(document).ready(function($) {
    $( ".js-wpt-date, #dp1445337524574, #dp1445337524575, #field_lkuceo" ).datepicker({
    minDate: 0, maxDate: "+12M",
    showAnim: "slideDown",
    changeMonth: true,
    changeYear: true
    });
    });
    </script>

    …my customisation works for the first and last fields which are not EM fields, but doesn’t work for the second and third, which are EM fields.

    Is there something else I should be doing that is specific to the EM plugin?

    Thanks. Gavin.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry but can I know what is ‘js-wpt-date’ and ‘field_lkuceo’ ?

    Thread Starter fmpweb

    (@fmpweb)

    Hi Angelo – they are the classes of the fields for the other forms. The customisation for the EM fields aren’t working though.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    do you have sample link to your site for us to see and analyze?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Customising Datepicker UI’ is closed to new replies.