       for key, val of ERRORS
         if e.field.indexOf(key) > -1
           val.input.giveValidationFeedback yes
-          field = val.field.subViews[0].labelTitle
-          val.input.showValidationError "#{field} #{e.message}"
+          inputName = if val.input.inputLabel
+            val.input.inputLabel.getTitle()
+          else
+            inputEl = val.input.$()[0]
+            inputEl.getAttribute("placeholder") or inputEl.getAttribute("name") or ""
+
+          val.input.showValidationError "#{inputName} #{e.message}"
 
 class AccountPaymentMethodsListController extends KDListViewController
   constructor:(options,data)->

createAccountPaymentMethodModal = (data, callback) ->
  modal = new KDModalViewWithForms
    title                       : "Billing Information"
    content                     : ''
    helpContent                 :
      """
      """
    overlay                     : yes
    width                       : 500
    height                      : "auto"
    cssClass                    : "payments-modal"
    tabs                        :
      navigable                 : yes
      goToNextFormOnSubmit      : no
      forms                     :
        "Billing Info"          :
          buttons               :
            Save                :
              title             : "Save"
              style             : "modal-clean-green"
              type              : "submit"
              loader            :
                color           : "#444444"
                diameter        : 12
              callback          : =>
                tabs = modal.modalTabs
                form = tabs.forms["Billing Info"]
                button = form.buttons["Save"]
                onError = ->
                    button.hideLoader()
                onSuccess = ->
                    modal.destroy()
                callback form.getFormData(), onError, onSuccess
          fields                :
            cardFirstName       :
              label             : "Name"
              itemClass         : KDInputView
              name              : "cardFirstName"
              placeholder       : "First Name"
              nextElementFlat   :
                cardLastName    :
                  itemClass     : KDInputView
                  name          : "cardLastName"
                  placeholder   : "Last Name"
            cardNumber          :
              label             : "Card Number"
              itemClass         : KDInputView
              name              : "cardNumber"
              placeholder       : 'Card Number'
              # validate          :
              #   event           : "blur"
              #   rules           : "creditCard"
              nextElementFlat   :
                cardCV          :
                  tooltip       :
                    placement   : 'right'
                    direction   : 'center'
                    title       : 'The location of this verification number depends on the issuer of your credit card'
                  itemClass     : KDInputView
                  name          : "cardCV"
                  placeholder   : "CV Number"
            cardMonth           :
              label             : "Expire Date"
              itemClass         : KDSelectBox

      modal = createAccountPaymentMethodModal data, (newData, onError, onSuccess) ->
        KD.remote.api.JRecurlyPlan.setUserAccount newData, (err, result)->
          if err
            onError err
          else
            controller.emit 'reload'
            onSuccess result

      form = modal.modalTabs.forms["Billing Info"]

