title: Html.EditorFor Set Default Value
body: <p>Rookie question.
  I have a parameter being passed to a create view. I need to set a field name with a default value.
   @Html.EditorFor(model => model.Id)
  I need to set this input field with name Id with a default value that is being passed to the view via an actionlink.</p>
  
  <p>So, how can this input field --@Html.EditorFor(model => model.Id) -- get set with a default value.</p>
  
  <p><strong>Would the following work??</strong> Where the number 5 is a parameter I pass into the text field to set default value.</p>
  
  <pre><code>@Html.EditorFor(c => c.PropertyName, new { text = "5"; })</code></pre>