Hi All,
I add a new Text field in Contact us form. I have done this to update contactus.cshtml and ContactUsModel.cs files. But i am unable to add phone field in mail. I add following code in Contactus.cshtml
<tr class="row">
<td class="item-name">
@Html.LabelFor(model => model.Phone):
</td>
<td class="item-value">
@Html.TextBoxFor(model => model.Phone, new { style = "Width: 250px;" })
</td>
</tr>
and add follwing code in ContactUsModel.cs
[AllowHtml]
[NopResourceDisplayName("Phone")]
public string Phone { get; set; }
Thanks