====== Safety Web Page ====== ===== Archived: ===== This page is archived because no work has been done or will be done for the project. ===== Summary: ===== Update the Contractor training form to have proper validation for dates, taking into account observed holidays. ===== Goals: ===== * Unordered List Item ===== Notes: ===== [[https://stackoverflow.com/questions/30833844/get-holidays-list-of-a-country-from-google-calendar-api|Getting Holiday from Google Calendar]] - Using google calendar API get JSON object of US holidays. [[https://tiffanybbrown.com/2013/10/24/date-input-in-html5-restricting-dates-and-thought-for-working-around-limitations/|Date input in HTML5]] - How to work around the limitation of the date input of HTML5. [[https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity|MDN: setCustomValidity]] - Allows for a custom validity message for objects