I have a painfully simple view model
public class TellAFriendViewModel { public string Email1 { get; set; } public string Email2 { get; set; } pu
Perhaps like this?
public class TellAFriendViewModel { List Emails { get; set; } public TellAFriendViewModel() { Emails = new List(5); } } @using (Html.BeginForm()){ @Html.AntiForgeryToken() @for(int count = 0 ; count < model.Emails.Count; count++) { @Html.TextBoxFor(vm => vm.Emails[count]) } }