• Resolved isabelk2j

    (@isabelk2j)


    Q1: Is it possible to use this plugin for D.O.B only? i.e current date cannot be selected, only previous dates (above 18years dates only) and

    Q2: i’m not sure why the date picker is automatically adding today’s date to the field.. How can i disable that

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter isabelk2j

    (@isabelk2j)

    Q2: has been Solved by checking this settings “Keep Placeholder“Options. Please i need answer for Q1. I dont mind doing some extra jQuery edit, just a pointer in the right direction to achieve this with the plugin.

    Thanks

    Hi @isabelk2j
    Thank you for using the plugin.

    You’ll have to use some jQuery, since the plugin currently doesn’t allow you to manually setup a minimum and maximum date.
    Some info on what to do:

    https://xdsoft.net/jqplugins/datetimepicker/#mindate

    You can send your own jQuery code to build the datepicker, using the minDate and maxDate parameters.

    Check if it works.
    Greetings, Carlos

    Latest version now includes a ‘minimum date’ and ‘maximum date’ options. You can now set the maximum date to ’18 years ago’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use plugin for D.O.B only and Disabling auto date insertion’ is closed to new replies.