diff --git a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs index 00def9c2d..12c6ae98a 100644 --- a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs @@ -859,6 +859,7 @@ public async Task CreateAccountWorkStartDate(AccountCreationViewM { int specialtyId; var accountCreation = await this.multiPageFormService.GetMultiPageFormData(MultiPageFormDataFeature.AddRegistrationPrompt, this.TempData); + AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData); if (accountCreationViewModel.PrimarySpecialtyId?.ToLower() == "not applicable") { var specialties = await this.specialtyService.GetSpecialtiesAsync(); @@ -906,6 +907,7 @@ public async Task CreateAccountWorkStartDate(AccountCreationViewM [TypeFilter(typeof(RedirectMissingMultiPageFormData), Arguments = new object[] { nameof(MultiPageFormDataFeature.AddRegistrationPrompt) })] public async Task CreateAccountStartDate(AccountCreationDateViewModel accountCreationDateViewModel) { + AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData); if (!this.ModelState.IsValid) { return this.View("CreateAccountWorkStartDate", accountCreationDateViewModel);