[ic] Simple conditional problem

Joel Stewart interchange-users@lists.akopia.com
Fri Jun 8 17:09:21 2001


This is a multi-part message in MIME format.

------=_NextPart_000_00FC_01C0F006.B99FC6E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello=20

Can anyone please help me with what is probably a very simple problem.  =
I am trying to use a conditional statement to not display the price for =
a gift certificate with in a loop

[if [loop-code] =3D~ /^gift_cert/i]Available in any =
increment[else][loop-price][/else][/if]

Obviously to those in the know, it doesn't work.  I've tried it with =
quotes, with nothing, probably 20 different combinations and still no =
joy.

Thanks for whatever help you can provide

Joel Stewart

------=_NextPart_000_00FC_01C0F006.B99FC6E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DFixedsys size=3D2>Hello </FONT></DIV>
<DIV><FONT face=3DFixedsys size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DFixedsys size=3D2>Can anyone please help me with what =
is probably=20
a very simple problem.&nbsp; I am trying to use a conditional statement =
to not=20
display the price for a gift certificate with in a loop</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DFixedsys size=3D2>[if [loop-code] =3D~ =
/^gift_cert/i]Available in=20
any increment[else][loop-price][/else][/if]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DFixedsys size=3D2>Obviously to those in the know, it =
doesn't=20
work.&nbsp; I've tried it with quotes, with nothing, probably 20 =
different=20
combinations and still no joy.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DFixedsys size=3D2>Thanks for whatever help you can=20
provide</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DFixedsys size=3D2>Joel =
Stewart</FONT></DIV></BODY></HTML>

------=_NextPart_000_00FC_01C0F006.B99FC6E0--