Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need to change lenght of tep_draw_input_field


Guest

Recommended Posts

Posted

How would one alter the lenght of these fields,

 

I can seem to find where this function is defined

 

tep_draw_input_field

 

I dont want to change them globally just inperticular ones like new product name.

 

thanks Lee

Posted

nevermind I found the global one in:

 

tep_draw_input_field is found in

 

includes/functions/html_output.php

 

LOL I tried searching google for this too! looks like an osCommerce only function.

 

can I alter individual fields, or only globally.

Posted

Found it :)

 

'style="width: 440"')

 

just adds to the end of any tep_draw_input_field like so:

 

<?php echo tep_draw_input_field('products_name, ' ', 'style="width: 440"'); ?>

Archived

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

×
×
  • Create New...