Hi Ashely,

Originally Posted by
Ashely
How can I stretch the box a little so to make it longer?
Use CSS to adjust the width. For example:
Code:
#ceon-manual-card-card-type { width: 15em; }

Originally Posted by
Ashely
Also, is it possible to define the maxlength of the card number text field to 16? As those cards I accept have upto 16 digits.
You'll have to manually edit the code in includes/modules/payment/ceon_manual_card.php :
Find and change the lines around line 1017 (of Ceon Manual Card 3.0.1) from:
PHP Code:
$selection['fields'][] = array(
'title' => CEON_MANUAL_CARD_TEXT_CARD_NUMBER,
'field' => zen_draw_input_field('ceon-manual-card-card-number',
$card_number, 'id="ceon-manual-card-card-number"' . ' autocomplete="off"' .
$on_focus_handler . $card_number_error_class_string)
);
to:
PHP Code:
$selection['fields'][] = array(
'title' => CEON_MANUAL_CARD_TEXT_CARD_NUMBER,
'field' => zen_draw_input_field('ceon-manual-card-card-number',
$card_number, 'id="ceon-manual-card-card-number"' . ' autocomplete="off"' .
' maxlength="16"' .
$on_focus_handler . $card_number_error_class_string)
);
All the best..
Conor
ceon
Bookmarks