Omar S
52 posts
Registered:
04 Jul 2019
Answered
07 Feb 2020
in reply to
Krishna Hari
Link to this post
Hi Krishna
You can make the input readonly so that the user cannot enter any date through the keyboard. Instead, the user has to use the UI buttons to pick a date. This can be done by adding the following custom Jquery on the page:
$(".k-datepicker").find('span').find('input').attr("readonly", "readonly");
Also another thing, if you set the date to required, it will not allow the user to submit incorrectly formatted dates or dates outside the range you preset
Last modified on 07 Feb 2020 19:02 by Omar S