protected function validateFieldsAddress()
    {
        $this->validateFieldAddress('address_1');
        $this->validateFieldAddress('address_2');
        $this->validateFieldAddress('phone');
        $this->validateFieldAddress('middle_name');
        $this->validateFieldAddress('last_name');
        $this->validateFieldAddress('first_name');
        $this->validateFieldAddress('postcode');
        $this->validateFieldAddress('company');
        $this->validateFieldAddress('fax');
    }
protected function validateFieldsAddress()
    {
        $this->validateFieldAddress('address_1');
        $this->validateFieldAddress('address_2');
        $this->validateFieldAddress('phone');
        $this->validateFieldAddress('middle_name');
        $this->validateFieldAddress('last_name');
        $this->validateFieldAddress('first_name');
        $this->validateFieldAddress('postcode');
        $this->validateFieldAddress('company');
        $this->validateFieldAddress('fax');
    }
protected function validateFieldsAddress ( ) { $ this -> validateFieldAddress ( 'address_1' ) ; $ this -> validateFieldAddress ( 'address_2' ) ; $ this -> validateFieldAddress ( 'phone' ) ; $ this -> validateFieldAddress ( 'middle_name' ) ; $ this -> validateFieldAddress ( 'last_name' ) ; $ this -> validateFieldAddress ( 'first_name' ) ; $ this -> validateFieldAddress ( 'postcode' ) ; $ this -> validateFieldAddress ( 'company' ) ; $ this -> validateFieldAddress ( 'fax' ) ; }
Validates address fields
Validates address fields