Hi,
I have field which is binded using CK editor.
On submit click i want to show error incase the field is empty.
Currently it is not displaying validation message if empty.
I am developing mvc asp.net site.
Below is field.
<div class="document-editor">
<div class="document-editor__toolbar"></div>
<div class="document-editor__editable-container">
<div class="document-editor__editable" name="Content">
@Html.Raw(Model.Description)
</div>
</div>
</div>
@Html.ValidationMessageFor(model => model.Description, "", new { @class = "text-danger" })