@model SendQuestionnaireViewModel @{ ViewData["Title"] = "Send Questionnaire"; } @section Styles { } @{ var users = ViewBag.Users as IEnumerable ?? Enumerable.Empty(); } DISTRIBUTEv1.0 SURVEYS SEND QUESTIONNAIRE Back @if (TempData["Success"] != null) { @TempData["Success"]× } @if (TempData["Error"] != null) { @TempData["Error"]× } Send Questionnaire Select recipients and distribute your questionnaire @ViewBag.questionnaireName Select Recipients 0 selected Available Users 0 @foreach (var user in users) { string uName = user.UserName ?? "Unknown"; string uEmail = user.UserEmail ?? ""; string initial = !string.IsNullOrEmpty(uName) ? uName.Substring(0, 1).ToUpper() : "U"; @initial @uName @uEmail } Select All Selected Recipients 0 Click users from the left to add them as recipients Remove All Manual Email Entry Both the user picker and this field combine. Duplicates are handled automatically. Survey Expiration Links expire on this date. Defaults to 30 days if left empty. 0 recipients Send Questionnaire @section Scripts { }