Email template .aspx error

Hi,

My attempt to insert a new condition into .aspx page of an email confirmation raises an error exception.  I based my 'if' statement on the existing code

 

 

<% if (OrderData.DeliveryMethod != -1) { %>

DeliveryAddress: <br />

 

 

<tweb:AddressControl runat="server" id="uxDelivery" DefaultCountry="[country]" LineBreak="<br />"

/>

 

 

 

<% } %>

and it looks like :

 

<% if (OrderData.Solicitor == webapi) { %>

 

<i>blah - blah - blah - blah</i><br

/>

<% } %>

What am I missing?

Thanks,

Sabina Spilkin.

 

Parents Reply Children