can you include the whole cfif call in your code? also can you include what the debugger shows?
Thanks On 6/8/05, Torrent Girl <[EMAIL PROTECTED]> wrote: > I am using two CFMAIL tags in a IF statement and get the following error: > > I have done this before. What gives??? > > > I have the code written like this: > > <cfif formMethod EQ "send"> > > <cfmail>.....</cfmail> This tag sends the registration to an email address > <cfmail>.....</cfmail> this tag sends an email to the registrant > > <cfelse> > > Show registration form > > > > Context validation error for tag cfif. > The start tag must have a matching end tag. An explicit end tag can be > provided by adding </cfif>. If the body of the tag is empty you can use the > shortcut <cfif .../>. > The CFML compiler was processing: > > The body of a CFMAIL tag beginning on line 55, column 18. > > > The error occurred in D:\INETPUB\wifenetwork\conferencecalls.cfm: line 40 > > 38 : > 39 : <cfinclude template="includes/conferenceTop.cfm"> > 40 : <cfif #formMethod# EQ "send"> > 41 : <CFMAIL TO="[EMAIL PROTECTED]" > 42 : FROM="#Email#" > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=52 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1090 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
