Date Picker Editable

I have several appointment forms setup with Sundays, previous dates and the current date grayed out.  The problem is, if a user selects tomorrow as a date for their appointment, they can simply go back and manually edit the date to today’s date.

Is there any way to allow the date picker to choose the date, but make the field not directly editable?


Attachment:
screenshot

This can be done by adding a bit of javascript somewhere (your theme javascript file, your customizable HTML....).

<script type="text/javascript">jQuery(document).ready(function($){$(".frm_date").keypress(function(e){e.preventDefault();}); })</script>

Will this translate well to browsers/devices with javascript blocked or not loaded?

The datepicker is created with javascript, so if javascript doesn't work you don't want to prevent the use of the field anyway.

Thank you!  That worked perfectly.

Topic closed.