Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions LearningHub.Nhs.WebUI/Controllers/AccountController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ public async Task<IActionResult> CreateAccountWorkStartDate(AccountCreationViewM
{
int specialtyId;
var accountCreation = await this.multiPageFormService.GetMultiPageFormData<AccountCreationViewModel>(MultiPageFormDataFeature.AddRegistrationPrompt, this.TempData);
AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData);
if (accountCreationViewModel.PrimarySpecialtyId?.ToLower() == "not applicable")
{
var specialties = await this.specialtyService.GetSpecialtiesAsync();
Expand Down Expand Up @@ -906,6 +907,7 @@ public async Task<IActionResult> CreateAccountWorkStartDate(AccountCreationViewM
[TypeFilter(typeof(RedirectMissingMultiPageFormData), Arguments = new object[] { nameof(MultiPageFormDataFeature.AddRegistrationPrompt) })]
public async Task<IActionResult> CreateAccountStartDate(AccountCreationDateViewModel accountCreationDateViewModel)
{
AccountCreationFormHelper.PopulateGroupedFormControlMetadata(this.ViewData);
if (!this.ModelState.IsValid)
{
return this.View("CreateAccountWorkStartDate", accountCreationDateViewModel);
Expand Down
Loading