@using OSS.Models @model ProjectProfileExternal @{ Layout = "~/Views/Shared/_Layout.cshtml"; }

  PROJECTS New Certificate

@using (Html.BeginForm("PostProjectProfile", "NewCOI", FormMethod.Post, new { id = "social", @novalidate = "novalidate", @class = "needs-validation text-left section social" })) { @Html.AntiForgeryToken()
@ViewBag.Error
      Details of the Project

@Html.TextBoxFor(m => m.ProjectName, new { @name = "ProjectName", @class = "form-control mb-4", @id = "ProjectName", @type = "text", @required = "true", @pattern = "^[a-zA-Z0-9-'()&._ ]+$" })
Invalid Input some characters are not allowed
@Html.TextBoxFor(m => m.MainActivity, new { @pattern = "^[a-zA-Z-'()&._ ]+$", @name = "MainActivity", @class = "form-control mb-4", @id = "MainActivity", @type = "text", @required = "true" })
Enter description of your project
@Html.DropDownListFor(m => m.Sector, new SelectList(Model.ListofSectors , "Value", "Text"), new { @class = "selectpicker form-control", @id = "Sector", @name = "Sector" })
Invalid Input
@Html.DropDownListFor(m => m.SubSector, new SelectList(Model.ListofSubectors , "Value", "Text"), new { @class = "selectpicker form-control", @id = "SubSector", @name = "SubSector" })
Invalid Input
@Html.TextBoxFor(m => m.ProductionCapacity, new { @pattern = "^[0-9]\\d*(\\.\\d+)?$", @name = "ProductionCapacity", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true" })
Enter numbers only (1000)
@Html.DropDownListFor(m => m.UnitMeasure, new List{ new SelectListItem{ Text="tones/year", Value = "tones/year" }, new SelectListItem{ Text="liters/year", Value = "liters/year" }, new SelectListItem{ Text="grams/year", Value = "grams/year" }, new SelectListItem{ Text="kilograms/year", Value = "kilograms/year" }, new SelectListItem{ Text="numbers of units/year", Value = "numbers of units/year" }, new SelectListItem{ Text="acreages/year", Value = "acreages/year" }, new SelectListItem{ Text="Hectors/year", Value = "Hectors/year" }, }, new { @class = "selectpicker form-control", @id = "UnitMeasure", @name = "UnitMeasure", @placeholder = "Sex Type", @required = "true", @value = "Please Select" })
Invalid Input
@Html.DropDownListFor(m => m.TypeofOwnership, new List{ new SelectListItem{ Text="Foreigners Only", Value = "Foreign" }, new SelectListItem{ Text="Tanzanians Only", Value = "Local" }, new SelectListItem{ Text="Mixed (Foreigners & Tanzanians)", Value = "JV" }, }, new { @class = "selectpicker form-control", @id = "CompanyType", @name = "TypeofOwnership", @placeholder = "Sex Type", @required = "true", @value = "Please Select" })
Invalid Input

      Employment Details

@Html.TextBoxFor(m => m.MenForeign, new { @name = "MenForeign", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true", @pattern = "^[0-9]+$" })
Invalid Input.
@Html.TextBoxFor(m => m.WomenForeign, new { @name = "WomenForeign", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true", @pattern = "^[0-9]+$" })
Invalid Input.
@Html.TextBoxFor(m => m.MenLocal, new { @name = "MenLocal", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true", @pattern = "^[0-9]+$" })
Invalid Input
@Html.TextBoxFor(m => m.WomenLocal, new { @name = "WomenLocal", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true", @pattern = "^[0-9]+$" })
Invalid Input.
      Project Location

@Html.DropDownListFor(m => m.Region, new SelectList(Model.ListofRegions , "Value", "Text"), new { @class = "selectpicker form-control", @id = "Region", @name = "Region", @Required = "true" })
Enter Region.
@Html.TextBoxFor(m => m.Telephone, new { @name = "Telephone", @class = "form-control mb-4", @id = "Telephone", @type = "text", @required = "true" })
Invalid Input
@Html.TextBoxFor(m => m.Street, new { @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "Street", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true" })
Invalid Input
@Html.TextBoxFor(m => m.PostalAddress, new { @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "PostalAddress", @class = "form-control mb-4", @id = "PostalAddress", @type = "text", @required = "true" })
Invalid Input
@Html.DropDownListFor(m => m.AreaType, new List{ new SelectListItem{ Text="Select Area Type", Value = "" }, new SelectListItem{ Text="Surveyed", Value = "Surveyed" }, new SelectListItem{ Text="UnSurveyed", Value = "UnSurveyed" }, }, new { @class = "selectpicker form-control", @id = "AreaType", @name = "AreaType", @placeholder = "Sex Type", @required = "true", @value = "Please Select" })
Invalid Input
@Html.TextBoxFor(m => m.Area, new { @maxlenght = "20", @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "Area", @class = "form-control mb-4", @id = "Area", @type = "text" })
Invalid Input
@Html.DropDownListFor(m => m.LandMarkType, new List{ new SelectListItem{ Text="Near By", Value = "Near By" }, new SelectListItem{ Text="Opposite to", Value = "Opposite to" }, }, new { @class = "selectpicker form-control", @id = "LandMarkType", @name = "LandMarkType", @placeholder = "Sex Type", @value = "Please Select" })
Invalid Input
@Html.TextBoxFor(m => m.LandMarkDescription, new { @maxlenght = "20", @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "LandMarkDescription", @class = "form-control mb-4", @id = "LandMarkDescription", @type = "text" })
Invalid Input
@Html.TextBoxFor(m => m.PlotNumber, new { @maxlenght = "10", @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "PlotNumber", @class = "form-control mb-4", @id = "PlotNumber", @type = "text" })
Invalid Input
@Html.TextBoxFor(m => m.BlockPlotNumber, new { @maxlenght = "10", @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "BlockPlotNumber", @class = "form-control mb-4", @id = "BlockPlotNumber", @type = "text" })
Invalid Input
@Html.TextBoxFor(m => m.HouseNo, new { @maxlenght = "10", @pattern = "^[a-zA-Z0-9-'()&._\\/ ]+$", @name = "HouseNo", @class = "form-control mb-4", @id = "HouseNo", @type = "text" })
Invalid Input
      Contact Person

@Html.TextBoxFor(m => m.ContactPerson, new { @maxlenght = "30", @name = "ContactPerson", @class = "form-control mb-4", @id = "ContactPerson", @pattern = "^[a-zA-Z-' ]+$", @type = "text", @required = "true" })
Invalid Input
@Html.DropDownListFor(m => m.Title, new List{ new SelectListItem{ Text="Select Position", Value = "" }, new SelectListItem{ Text="CEO", Value = "CEO" }, new SelectListItem{ Text="Director", Value = "Director" }, new SelectListItem{ Text="Shareholder", Value = "Shareholder" }, new SelectListItem{ Text="HR Manager", Value = "HR Manager" }, new SelectListItem{ Text="Finance Manager", Value = "Finance Manager" }, new SelectListItem{ Text="Auditor", Value = "Auditor" }, new SelectListItem{ Text="Agent", Value = "Agent" }, }, new { @class = "selectpicker form-control", @id = "Position", @name = "Title", @placeholder = "", @required = "true", @value = "Please Select" })
@Html.TextBoxFor(m => m.ContactMobile, new { @name = "ContactMobile", @class = "form-control mb-4", @id = "ContactMobile", @type = "text", @required = "true" })
Invalid Input
@Html.TextBoxFor(m => m.ContactEmail, new { @name = "ContactEmail", @class = "form-control mb-4", @id = "LastName", @type = "text", @required = "true" })
Invalid Input

}