Skip to content

Commit fd1631b

Browse files
authored
Merge pull request #800 from TechnologyEnhancedLearning/Develop/Fixes/TD-4180
TD-4180 update
2 parents e68042d + 60825ed commit fd1631b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LearningHub.Nhs.WebUI/Controllers/AccountController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ public async Task<IActionResult> CreateAccountWorkStartDate(AccountCreationViewM
859859
{
860860
int specialtyId;
861861
var accountCreation = await this.multiPageFormService.GetMultiPageFormData<AccountCreationViewModel>(MultiPageFormDataFeature.AddRegistrationPrompt, this.TempData);
862+
AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData);
862863
if (accountCreationViewModel.PrimarySpecialtyId?.ToLower() == "not applicable")
863864
{
864865
var specialties = await this.specialtyService.GetSpecialtiesAsync();
@@ -906,6 +907,7 @@ public async Task<IActionResult> CreateAccountWorkStartDate(AccountCreationViewM
906907
[TypeFilter(typeof(RedirectMissingMultiPageFormData), Arguments = new object[] { nameof(MultiPageFormDataFeature.AddRegistrationPrompt) })]
907908
public async Task<IActionResult> CreateAccountStartDate(AccountCreationDateViewModel accountCreationDateViewModel)
908909
{
910+
AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData);
909911
if (!this.ModelState.IsValid)
910912
{
911913
return this.View("CreateAccountWorkStartDate", accountCreationDateViewModel);

0 commit comments

Comments
 (0)