Hello,
Needing some help with ASP. In one of our templets we have the below statement. If I take out the part about Print at Home, it run fine. But if I add in the Print at Home [else] statement, it errors out with invalid character in the header; ‘;’.
Thanks in advance for your help.
<% if (OrderData.DeliveryMethod == -1) { %>
Hold order at Box Office<br />
<i>Please pick up your tickets no later than 30 minutes before curtain.</i>
<% else if (OrderData.DeliveryMethod == 3) { %>
<b>Print at Home<br />
<i>You will receive your Print at Home tickets in a separate email.</i>
<% } else { %>
<tweb:AddressControl runat="server" id="uxDelivery" DefaultCountry="[country]" LineBreak="<br />" />
<% } %>
</td>
</tr>
<tr>
Thanks,
Bobby Moseley
Houston Ballet
601 Preston Street
Houston, TX 77002
(713) 535-3253
Thanks Jon that worked.
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon BallingerSent: Wednesday, December 10, 2014 6:02 PMTo: Moseley, BobbySubject: Re: [Tessitura Technical Forum] Need help with ASP
Hi Bob,
Are you missing an ending curly brace after the if statement before the else?
Jon
From: Bobby Moseley <bounce-bobbymoseley3262@tessituranetwork.com>Sent: 12/10/2014 5:17:38 PM
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!