giving format to a form