Added form binding to hat