Referencing template parameters in optional region expressions

I have a template parameter Product_ID which has a default value of "xxxnn".  I would like to define an optional region, which shows only when the value of Product_ID has been set to something other than its default value.  

I have defined the region using the following expression (generated by Dreamweaver), but it doesn't evaluate properly, because the region shows even when Product_ID is equal to "xxxnn"

<!-- TemplateBeginIf cond="Product_ID!=&quot;nnnxx&quot;" -->

What is wrong with this expression?  How do I write it so that it evaluates to True when Product_ID="xxxnn"?

(Product_ID is defined using the following expression":

<!-- TemplateParam name="Product_ID" type="text" value="xxxnn" -->)

Who is Participating?
alexhoganConnect With a Mentor Commented:
You need to identify the parameter like this;


Outside of your expression.

Here is an explanation;
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.