Table of Contents


aspx:FieldCardNumber

This control provides a Credit Card input field for custom forms that is more user-friendly. Note that this input control can no longer be used for Stripe payments at this time. 

<aspx:FieldCardNumber runat='server' value='{!Model.CCNumber}' cardTypeValue='{!Model.CardType}'/>

 

Note: This control is only optimized for custom forms (showing data in edit mode) and cannot be used within a repeater control.

 

Properties

PropertyDescription
valueProperty on the model that holds the value of the Credit Card Number.
cardTypeValueProperty on the model that holds the value of the Credit Card Type, this is an optional parameter.

AcceptedCardTypes

Using this attribute, you can limit the accepted card types. Specify the supported card types in a comma-separated format. card type values supported are: 
  • amex
  • diners_club_carte_blanche

  • diners_club_international

  • visa_electron

  • visa

  • mastercard

  • maestro

  • discover

TabIndexTabbing order of the input field.