add foundation css and text input validation for date