The code behind using child forms loaded by directives to register with a parent form for validation.