set form widget