This is my code for validation money type
[Required(ErrorMessage = "مبلغ پیشنهادی را وارد کنید")]
[RegularExpression("^[+]?\\d*$", ErrorMessage = "*")]
public decimal FirstlySum { get; set; }
If I enter a word (such as "asdf") for the textbox corresponding to this property, I get the following error:
The value 'asdf' is not valid for FirstlySum.
The error message doesn't show.
How can I fix this?