Zen Cart Logo

text box size issue

Locked

Views: 888

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
10 Mar 2010, 11:41 AM
#1
amrelia avatar

amrelia

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

text box size issue

I am using Zencart 1.3.8a (localhost) and I already add 1 field in database under customers table
Field Name - customers_phone
type - varchar
size - 32

I added one field in registration form of Mobile No. But my problem is text box size is not big enough, so I want to increase the size of text box.

here is my code which is add in tpl_module_create_account.php

<fieldset>
<legend><?php echo TABLE_HEADING_PHONE_FAX_DETAILS; ?></legend>
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>

<label class="inputLabel" for="telephone"><?php echo 'Phone no'; ?></label>
<?php echo zen_draw_input_field('phone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_phone', '40') . ' id="phone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>


<?php
  if (ACCOUNT_FAX_NUMBER == 'true') {
?>

Please help me to resize the text box.:unsure:

Thank you all in advance