You are here

function phone_ca_metadata in Phone 6

Same name and namespace in other branches
  1. 7 include/phone.ca.inc \phone_ca_metadata()

@file CCK Field for Canadian phone numbers.

File

./phone.ca.inc, line 8
CCK Field for Canadian phone numbers.

Code

function phone_ca_metadata() {
  return array(
    'label' => 'Phone Numbers - US & Canada',
    'error' => '"%value" is not a valid North American phone number<br>North American Phone numbers should only contain numbers and + and - and ( and ) and spaces and be like 999-999-9999. Please enter a valid ten-digit phone number with optional extension.',
  );
}