Giving format to form