-----Original Message-----
From: John Munyan [mailto:[EMAIL PROTECTED]
Sent: donderdag 20 november 2003 1:27
To: CF-Talk
Subject: RE: Question about populating pulldown menus with queries
(Beginner)
I am getting a context validation error for tag cfloop. Any ideas?
Context validation error for tag cfloop.
The start tag must have a matching end tag. An explicit end tag can be
provided by adding </cfloop>. If the body of the tag is empty you can
use the shortcut <cfloop .../>.
The CFML compiler was processing:
a cfif tag beginning on line 73, column 61.
a cfif tag beginning on line 73, column 61.
The error occurred in D:\Inetpub\wwwroot\test\editgloballink.cfm: line
70
68 : <cfoutput>
69 :
70 : <cfloop from="1" to="#RecordsetGetMenu.recordcount#" index="i">
71 : <option value="#RecordsetGetMenu.LinkCatergory[i]#" <cfif
72 : isdefined("recordset1.CatergoryHeading") AND
recordset1.CatergoryHeading eq
The code as it stands:
<cfoutput>
<cfloop from="1" to="#RecordsetGetMenu.recordcount#" index="i">
<option value="#RecordsetGetMenu.LinkCatergory[i]#" <cfif
isdefined("recordset1.CatergoryHeading") AND recordset1.CatergoryHeading
eq
RecordsetGetMenu.LinkCatergory[i]>selected</cfif>>selected</cfif>>#Recor
dset
GetMenu.LinkCatergory#</option>
</cfloop>
</cfoutput>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

