Finalise form functionality.