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
| Property | Description |
|---|
| value | Property on the model that holds the value of the Credit Card Number. |
| cardTypeValue | Property 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:
|
| TabIndex | Tabbing order of the input field. |