Question about DataPicker

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 7 months ago.

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

    Hi,

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

    Thank you.

    #10789
    Ernest Marcinko
    Ernest 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!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.