Announcement Announcement Module
Collapse
No announcement yet.
I18N/ L10N Phone numbers and Validation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • I18N/ L10N Phone numbers and Validation

    While using the Spring framework, does anyone have good documentation on validating phone numbers submitted to a form depending on the locale of the browser?

    I'm thinking this:
    A custom validator which has multiple validation methods which cover the major phone number formats. On bind and validate, read the locale of the browser and call the appropriate validation method.

    Problems:
    Reading the locale.

    TIA,
    Chris Rosenquest
Working...
X