Disable form on date not working