This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Question about DataPicker

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10778
    luizfernando4luizfernando4
    Participant

    Hi,

    How can I set a blank value as default instead of a specific date for a DataPicker field?

    Thank you.

    #10789
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I believe the datepicker initializes automatically to a default value, even if it’s not specified. However it might be possible to “reset” it after the initial page load with a custom script.

    Try putting this code to the functions.php file in your active theme directory (copy from line 3):

    Let’s hope it works!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.