From: kurund Date: Sun, 8 Mar 2015 19:33:16 +0000 (+0530) Subject: CRM-15756, add credit card class for validation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=25db53da0edef3ed2317cca60d59aa6bbdeda63b;p=civicrm-core.git CRM-15756, add credit card class for validation ---------------------------------------- * CRM-15756: Back-office Submit Credit Card Contribution form: card # validation is no longer working https://issues.civicrm.org/jira/browse/CRM-15756 --- diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 8a21c0298b..8be5681be0 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -318,6 +318,7 @@ abstract class CRM_Core_Payment { 'size' => 20, 'maxlength' => 20, 'autocomplete' => 'off', + 'classs' => 'creditcard', ), 'is_required' => TRUE, ),