Jump to content

 

cs-carttest

Member Since 19 Nov 2015
Offline Last Active Oct 13 2018 10:13 AM
-----

#265902 Enable Autocomplete Feature In Cc Number

Posted by cs-carttest on 08 December 2016 - 11:49 AM

Hello,

 

I want browser's default autocomplete where browser suggests autocomplete, and then user get options on past values he/she has entered.

 

 

Can we enable autocomplete feature in cs-cart's default credit card template.?

 

I have done some modifications in cs-cart but still I am unable to get desired result.

 

I have following code:

<label for="credit_card_cvv2_{$id_suffix}" class="ty-control-group__title cm-required cm-cc-cvv2  cc-cvv2_{$id_suffix} cm-autocomplete-off">{__("cvv2")}</label>
<input type="text" id="credit_card_cvv2_{$id_suffix}" name="payment_info[cvv2]" value="" size="4" maxlength="4" class="ty-credit-card__cvv-field-input" />

 to:

<label for="credit_card_cvv2_{$id_suffix}" class="ty-control-group__title cm-required cm-cc-cvv2  cc-cvv2_{$id_suffix} ">{__("cvv2")}</label>
<input type="text" id="credit_card_cvv2_{$id_suffix}" name="payment_info[cvv2]" value="" size="4" maxlength="4" class="ty-credit-card__cvv-field-input" />

I have remove "cm-autocomplete-off" class.

 

But still I am unable to get default feature of browser.

 

 

 

Thank you-