Implement automatic form field updating based on task type selection