You are here

function commerce_avatax_credentials_settings_form_validate in Drupal Commerce Connector for AvaTax 7.5

Form validation handler for commerce_avatax_credentials_settings_form().

File

includes/commerce_avatax.admin.inc, line 166
Administrative callbacks for the Commerce Avatax module.

Code

function commerce_avatax_credentials_settings_form_validate($form, &$form_state) {
  if (empty($form_state['credentials_validated'])) {
    drupal_set_message(t('Please note that you have to click on the "Validate credentials" button in order to test the connectivity to the API.'), 'warning');
  }
}