First off, thanks to those who tried to help with this (anim8tr and Judith).
I can greatly appreciate that helping someone with a problem like this when
you can't see the error is difficult at best.

To make a long story short - Nate Weiss' extremely helpful
ThreeSelectsRelated custom tag had an error in it.   It only occurred when
using the "EMPTYTEXT1", "EMPTYTEXT2" or "EMPTYTEXT3" attributes.
Specifically, the variable "Counter1" lacked an IIF statment that
initialized the counter to either a 1 or a 0 - depending on wheter or not
the EMPTYTEXT attributes were used (not = "")

The variable "Counter" is initialized properly here:

Line 141:  <!--- COUNTER VARIABLE WILL HOLD NUMBER OF GROUPS (OPTIONS IN
FIRST SELECT) --->
Line 142: <CFSET Counter = IIF(Attributes.EmptyText1 is not "", 1, 0)>

But variable "Counter1" is not initialized properly here:

Line 206:  <!--- COUNTER VARIABLE WILL HOLD NUMBER OF GROUPS (OPTIONS IN
FIRST SELECT) --->
Line 207:  <CFSET Counter1 = 0>

Changing Line 207 to:   <CFSET Counter1 = IIF(Attributes.EmptyText2 is not
"", 1, 0)>  the problem is solved.

I will attempt to get the Author to incorporate this fix (and several others
I found) into a new version of the tag.   Failing that - I will upload a new
version of the tag at the Allaire Developer's Exchange site.

I'd be happy to forward the fixed version to anyone who asks (although i'm
pretty certain the above information will help too)

Dan Slater
JOATMON
www.buxtonco.com


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to