Separating form-specific functions.