feat(forms): provide support for controls and state flags