I have bunch pages and I need to validate data there. If culture for example “es-ES” I should use one validation logic, if culture “en-US” than another validation logic. For example I need validate phone number. Minimum length is 11 digits. For other culture 9 digits. How can I do this? Some patterns or other decisions?
Share
If localizing, you should be using satellite assemblies for localization – this will also allow you to set culture specific RegEx expressions for validation (phone number formats etc).