Commit before changing to two input forms