dealing with string input in date field also assign paramter_name to hidden field