@model SendQuestionnaireViewModel @{ ViewData["Title"] = "Send Questionnaire"; } @section Styles { } @{ var users = ViewBag.Users as IEnumerable ?? Enumerable.Empty(); }
@if (TempData["Success"] != null) {
@TempData["Success"]
} @if (TempData["Error"] != null) {
@TempData["Error"]
}

Send Questionnaire

Select recipients and distribute your questionnaire
@ViewBag.questionnaireName
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
}
Selected Recipients 0
Click users from the left to add them as recipients
Both the user picker and this field combine. Duplicates are handled automatically.
Links expire on this date. Defaults to 30 days if left empty.
0 recipients
@section Scripts { }