added HTML 5 required attribute to name,type,addr