Hello,
I need to write html "templates" for a web application. Basically I am
displaying items on a website where I may or may not have 3 pieces of
information, that being: color, size and mft. What I would like to
code is if I have the color of the item, to go ahead and display the
word Color and bring in the Color variable. If the item doesn't have
color, don't display the word Color. The same being for the remainder
of the variables. Is this possible or do I need to create multiple
templates for the variables...ie one template that just has color, one
template that has color and size, etc? (I have the variable names
coming in fine, the problem is the label --if the variable doesn't
apply to this item, I don't want to display the label )
<tr>
<td>Color:</td>
<td><VariableNameForColor></td>
</tr>
<tr>
<td>Size:</td>
<td><VariableNameForSize></td>
</tr>
<tr>
<td>Manufacturer:</td>
<td><VariableNameForMft></td>
</tr>