Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change the length of text input boxes?


testaroo1

Recommended Posts

This MUST have a very simple solution that is eluding me right now... but... here goes:

 

How does one change the length of the boxes one uses to input text?

 

(for example, on the "address book" form, or shipping info, or account info).

 

Basically, I would like to make them longer, but for the life of me, I can't seem to change the form input width.

 

Any and all help appreciated---

 

--Roo

Link to comment
Share on other sites

This MUST have a very simple solution that is eluding me right now... but... here goes:

 

How does one change the length of the boxes one uses to input text?

 

(for example, on the "address book" form, or shipping info, or account info).

 

Basically, I would like to make them longer, but for the life of me, I can't seem to change the form input width.

 

Any and all help appreciated---

 

--Roo

 

 

<td class="main" align="left"><?php echo tep_draw_input_field('email_address', '', 'size="30"'); ?></td>

Link to comment
Share on other sites

  • 6 months later...
<td class="main" align="left"><?php echo tep_draw_input_field('email_address', '', 'size="30"'); ?></td>

 

 

THANK YOU! I finally figured it out. I have been trying to change the field input length of company in the create_account.php file and was pulling my hair out. My mistake was leaving out blank ''. So for anyone else needing to know how to do it, be sure the code looks similar to:

tep_draw_input_field('company','', 'size="40"')

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...