Contributions

Credit Modules (Category Index)
Search: 

Change Credit Card Expires from drop down box to text box

Dear Friends
I had a problem - People who use "Internet Explorer 7" culdn't change "Credit Card Expiry Date" at my website .I changed the "drop down box" to "text box".

Credit Card Expires will be text box
----------------------------------------------------
----------- How to do it ------------------
---------------------------------------
go to /includes/modules/payment/cc.php

find:
'field' => tep_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('cc_expires_year', $expires_year))));

Change to:


'field' => tep_draw_input_field('cc_expires_month','','class="inputBox" size="2" maxlength="2" ') . ' /' . tep_draw_input_field('cc_expires_year','','class="inputBox" size="2" maxlength="2" '))));

--------------------------------------------
------------ End -------------------------
-------------------------------------------

(The zip file is the same instructions)

Expand All / Collapse All

Change Credit Card Expires from drop down box to text box 15 Nov 2007

Dear Friends
I had a problem - People who use "Internet Explorer 7" culdn't change "Credit Card Expiry Date" at my website .I changed the "drop down box" to "text box".

Credit Card Expires will be text box
----------------------------------------------------
----------- How to do it ------------------
---------------------------------------
go to /includes/modules/payment/cc.php

find:
'field' => tep_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('cc_expires_year', $expires_year))));

Change to:


'field' => tep_draw_input_field('cc_expires_month','','class="inputBox" size="2" maxlength="2" ') . ' /' . tep_draw_input_field('cc_expires_year','','class="inputBox" size="2" maxlength="2" '))));

--------------------------------------------
------------ End -------------------------
-------------------------------------------

(The zip file is the same instructions)

Note: Contributions are used at own risk.