'is_required' => TRUE,
),
+ 'check_number' => array(
+ 'htmlType' => 'text',
+ 'name' => 'check_number',
+ 'title' => ts('Check Number'),
+ 'is_required' => FALSE,
+ 'cc_field' => TRUE,
+ 'attributes' => NULL,
+ ),
+ 'pan_truncation' => array(
+ 'htmlType' => 'text',
+ 'name' => 'pan_truncation',
+ 'title' => ts('Last 4 digits of the card'),
+ 'is_required' => FALSE,
+ 'cc_field' => TRUE,
+ 'attributes' => array(
+ 'size' => 4,
+ 'maxlength' => 4,
+ 'minlength' => 4,
+ 'autocomplete' => 'off',
+ ),
+ 'rules' => array(
+ array(
+ 'rule_message' => ts('Please enter valid last 4 digit card number.'),
+ 'rule_name' => 'numeric',
+ 'rule_parameters' => NULL,
+ ),
+ ),
+ ),
);
}