On 2/18/03, webguy penned:
>Can you show us a "simplest case" ?
>(i.e. the simplest case that breaks)

This DOES NOT return an error:

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
<CFOUTPUT>#orders#</CFOUTPUT>
</textarea>
</CFIF>

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
<CFOUTPUT>#orders#</CFOUTPUT>
</textarea>
</CFIF>

This DOES. It doesn't matter whether #orders# or form.includeorders 
are repeated or different variables (like the actual code). I did 
this for testing purposes because if it works once, it should work 
twice (which it does as shown above) and hence should work 3 times 
(which it doesn't):

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
<CFOUTPUT>#orders#</CFOUTPUT>
</textarea>
</CFIF>

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
<CFOUTPUT>#orders#</CFOUTPUT>
</textarea>
</CFIF>

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
<CFOUTPUT>#orders#</CFOUTPUT>
</textarea>
</CFIF>

This is the fix:

<CFOUTPUT>
<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
#orders#
</textarea>
</CFIF>

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
#orders#
</textarea>
</CFIF>

<CFIF isDefined('form.includeorders')>
<textarea rows="10" cols="50" wrap="off">
#orders#
</textarea>
</CFIF>
</CFOUTPUT>

Make sense to you???
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to