Active
Project:
Field Validation
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2012 at 15:41 UTC
Updated:
11 Jan 2013 at 13:00 UTC
Is there any way instead of setting the validation per country phone format, the field auto-detect the country code and auto-adjust the validation rule for that country.
Another thing can be supporting Address Field Module to change that rule dynamically. Any chances?
Comments
Comment #1
g089h515r806 commentedit is a good feature.
Comment #2
g089h515r806 commentedAddress field does not have phone column.
Comment #3
warmth commentedI didn't mean that. It supposed to user the Address Field to be able to understand what is your country and with that information in the hand you can adjust the validation of a normal text, number or even the phone field.
Some ideas are given here: #641984: Single phone field supporting all formats
Comment #4
g089h515r806 commentedIt will better that we support entity tokens when user config contry code.