Rewrote form widget.