One of the best parts of the Sitefinity12.1 release for us was the addition of custom email responses. So in a form that contains the Email field, someone can get a custom email sent back to them! This is especially helpful if your form submission redirects to some landing page instead of a message.

Problem though on an Intranet is using this new EmailTextField is redundant. It's an input[type=text] with a ton of validation and stuff, but we KNOW who the user is.

So the modification below checks to see if the user is authenticated, if they are, it's just a hidden field and no extra bloat. You could though keep this file the same and just name a NEW template like Write.Authenticated.cshtml and pick that in the form control designer.

This is my modification to the default template.

Write.Default.cshtmlView on GitHub
@model Telerik.Sitefinity.Frontend.Forms.Mvc.Models.Fields.EmailTextField.EmailTextFieldViewModel

@using Telerik.Sitefinity.UI.MVC; @using Telerik.Sitefinity.Frontend.Forms.Mvc.Helpers; @using Telerik.Sitefinity.Frontend.Mvc.Helpers; @using Telerik.Sitefinity.Modules.Pages; @using global::Medportal.Sitefinity.Controls; @using Telerik.Sitefinity.Services; @using Telerik.Sitefinity.Localization; @using Telerik.Sitefinity.Frontend.Forms.Mvc.StringResources

///######################################################################## ///###### Obviously remove\replace the Medportal.Sitefinity.Controls code to get the user or check anonymous

@{ var untitledLabel = Res.Get<FieldResources>().Untitled; var isSFBackend = SystemManager.CurrentHttpContext.Request.Url.AbsoluteUri.Contains("/Sitefinity"); var isDesignMode = SystemManager.IsDesignMode && !SystemManager.IsPreviewMode && isSFBackend; var isAuthenticated = Util.IsAnonymous ? false : true; }

@if (!isAuthenticated && !isDesignMode) { var isRequired = Model.ValidatorDefinition.Required.HasValue && Model.ValidatorDefinition.Required.Value ? "true" : "false"; var hasDescription = !string.IsNullOrEmpty(Model.MetaField.Description);

&lt;div class="@Model.CssClass form-group" data-sf-role="email-text-field-container"&gt;
    &lt;input data-sf-role="violation-restrictions" type="hidden" value='{"maxLength":"@Model.ValidatorDefinition.MaxLength", "minLength": "@Model.ValidatorDefinition.MinLength"}' /&gt;
    &lt;input data-sf-role="violation-messages" type="hidden" value='{"maxLength":"@Model.ValidatorDefinition.MaxLengthViolationMessage", "required": "@Model.ValidatorDefinition.RequiredViolationMessage", "invalid": "@Html.Resource("InvalidEntryMessage")", "regularExpression": "@Model.ValidatorDefinition.RegularExpressionViolationMessage"}' /&gt;

    &lt;label class="h6" for='@Html.UniqueId("Email")'&gt;@Model.MetaField.Title&lt;/label&gt;
    &lt;input id='@Html.UniqueId("Email")'
           data-sf-role="email-text-field-input"
           type="@Model.InputType.ToHtmlInputType()"
           class="form-control"
           name="@Model.MetaField.FieldName"
           placeholder="@Model.PlaceholderText"
           value="@Model.Value"
           aria-required="@isRequired"
           @Html.Raw(Model.ValidationAttributes)
           @{if (hasDescription) { &lt;text&gt; aria-describedby='@Html.UniqueId("EmailInfo") @Html.UniqueId("EmailErrorMessage")' &lt;/text&gt;  } else { &lt;text&gt; aria-describedby='@Html.UniqueId("TextboxErrorMessage")' &lt;/text&gt;  } } /&gt;

    @if (hasDescription)
    {
        &lt;p id='@Html.UniqueId("EmailInfo")' class="text-muted"&gt;@Model.MetaField.Description&lt;/p&gt;
    }

    &lt;div id='@Html.UniqueId("EmailErrorMessage")' data-sf-role="error-message" role="alert" aria-live="assertive" class="text-danger"&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;
    @Html.Script(Url.WidgetContent("Mvc/Scripts/EmailTextField/email-text-field.js"), "bottom", false)
&lt;/div&gt;

} else if (isAuthenticated && !isDesignMode) { var currentUser = global::Medportal.Sitefinity.Controls.Util.CurrentUsername;

&lt;!-- Authenticated Live --&gt;
&lt;input id='@Html.UniqueId("Email")' type="hidden" name="@Model.MetaField.FieldName" value="@currentUser" /&gt;

} else { var currentUser = global::Medportal.Sitefinity.Controls.Util.CurrentUsername;

&lt;!-- Design mode --&gt;
&lt;div class="sf-fieldWrp form-group"&gt;
    &lt;label for='@Html.UniqueId("HiddenField")'&gt;
        @if (string.IsNullOrEmpty(Model.MetaField.FieldName))
        {
            @untitledLabel;
        }
        else
        {
            @Model.MetaField.FieldName;
        }

    &lt;/label&gt;
    &lt;input id='@Html.UniqueId("Email")' type="text" class="form-control" name="@Model.MetaField.FieldName" value="@currentUser" disabled="disabled" /&gt;
&lt;/div&gt;

}

Installation

Add this to ~/Mvc/Views/EmailTextField/Write.Default.cshtml