How come my form keeps disabling itself?