Added form widget hook