some minor style enhancements
added hiddeninput field
added date format validation