use type text for date and file_browser fields
some browsers treat type 'date' as such