Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #905425
    gareth0151
    Participant

    hi, I am using the date picker on a gravity form, I tried this code

    jQuery(document).ready(function($) {
    $(“.datepicker”).datepicker({ minDate: 0 });
    });

    I only want clients to pick todays date onwards, I added this to global js, could you tell me where I have gone wrong?

    thanks

    #906424
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    The Datepicker library should be loaded first, what library you’re currently using? And you still need to style it depending on the library you’re loading. It’s best to consult it to a developer.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-905425 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>