move common form functions