Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Os Form customization


Recommended Posts



First let my start off by saying that I am fairly new to php, but I am learning a lot.

I added a html_output function so that I can output labels for my forms.

What I would like to know is...is my function correct? and Also how to I go about altering the tableBox and infoBoxContents functions in my boxes.php so that I can implement the label in the search.php



Heres the label function:


// Output a form label field

function tep_draw_label_field($parameters = ' ',$name, $for ){

$label = '<label name="' . tep_output_string($name) . '" for="' . tep_output_string($for) . '"';


if (tep_not_null($parameters)) $label .= ' ' . $parameters;


$label .= '>';

$label .= '</label>';


return $label;




Link to comment
Share on other sites


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

  • Create New...