bind form functions