protected function validateEditCountryState()
    {
        $this->setSubmitted('state');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_state);
        $this->setSubmitted('country', $this->data_country['code']);

        $this->validateComponent('country_state');

        return !$this->hasErrors();
    }
protected function validateEditCountryState()
    {
        $this->setSubmitted('state');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_state);
        $this->setSubmitted('country', $this->data_country['code']);

        $this->validateComponent('country_state');

        return !$this->hasErrors();
    }
protected function validateEditCountryState ( ) { $ this -> setSubmitted ( 'state' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_state ) ; $ this -> setSubmitted ( 'country' , $ this -> data_country [ 'code' ] ) ; $ this -> validateComponent ( 'country_state' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted country state data
@return boolean
Validates a submitted country state data