asp.net mvc validation must be a number custom error
Posted
by
Para
on Stack Overflow
See other posts from Stack Overflow
or by Para
Published on 2010-12-23T18:02:55Z
Indexed on
2010/12/28
7:54 UTC
Read the original article
Hit count: 282
Hi,
I am new to asp.net and I have a problem. When the users insert in a editor for a decimal field something other than numbers, they get an error "Field name" is not a number. But I don't want them to receive this message I want them to receive another message. I have no problem with this with required and range validators. Is there any way for me to do this?
I am not refering necessarily to changing the culture just displaying another message.
Thanks.
© Stack Overflow or respective owner