asp.net mvc - Allowing commas in decimal values using Fluent Validation -


i using fluentvalidation validate data in mvc project. have decimal value entering on page, if comma included in validation fails it. example "12,000.00". how can fluentvalidation accept such values?

i got work creating custom binder decimal values. should work regardless of validation tool you're using. see link on how that:

http://haacked.com/archive/2011/03/19/fixing-binding-to-decimals.aspx/


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -