Add form callbacks based on validation result.