Q:

mvc3 MultiLine EditFor

I have a view that is tightly bound to a model. The model has a string property[statement] and im using the property to capture user data. In the view i want the [statement] to be a multiline EditorFor field. In my model I applied a attribute/data annotation to property and the attribute being [DataType(DataType.MultiLineText)] but it does not seem to be working?
Please help 
    @item.EditorFor(m => m.UserName)
    @item.EditorFor(m => m.Email)
    @item.PasswordFor(m => m.Password)
    @item.PasswordFor(m => m.ConfirmPassword)
    @item.EditorFor(m => m.statement)
    <span id="admin">
    @item.CheckboxFor(m => m.IsAdmin)
    </span>

A:

You need TextAreaFor not EditorFor:
@item.TextAreaFor(m => m.MyField)

