File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
LearningHub.Nhs.WebUI/Controllers Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments