Finish form functionality