Gcobani Mkontwana

Gcobani Mkontwana

  • 558
  • 1.9k
  • 397.7k

@EditorFor validates error for empty text in asp.net mcv?

Jul 23 2020 10:43 AM
Hi Team
 
I want someone to help me, i want to validate on my View(@EditorFor) when leaving it must validate an empty space with image error message "This field is required". Is it better do it front end or back end? Please show me some examples to this please, thanks. 

Answers (3)