Ya know, I've run into this problem as well, and one of my friends and
former associates did too, so much so that we totally stopped using
CFFORM and wrote our own validation routines. Doesn't help out much if
you're using some of the CF form objects not geared towards validation,
but it may be worthwhile to look at another solution. Something about
using CFFORM inside of CFOUTPUT just gave us fits.

If you're interested I'll send you the validation routines and tag that
we wrote to get around cfform.

Joshua Miller
Web Development :: Programming
Eagle Web Development LLC
www.eaglewd.com
[EMAIL PROTECTED]
(304) 622-5676 (Clarksburg Office)
(304) 456-4942 (Home Office)


-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 20, 2002 1:18 PM
To: CF-Talk
Subject: cfoutput within cfform problem on MX?


OK, this is so strange I almost don't want to write it.

This code doesn't work. The innermost cfoutput is not working as 
expected. It is only showing the first Product. There are several 
Products in each Category. If I change cfform to form, it works as 
expected. I double checked by also moving the cfform tag outside the 
<CFOUTPUT group="Category_ID">. Sure enough, even though there are 
several Categories under each Main Category,  only the first one 
shows.

What the heck is that? Is it only me? Has anyone else experienced this?

BTW, if I move the cfform tag outside of the main cfoutput, it works 
as expected. Of course, that's no good as I need individual forms.

This is a pretty major problem. Not in this case, because I don't 
have any cfinput tags, but I can see it killing me in migration of 
some apps.

<CFOUTPUT query="getproducts" group="Main_Category_ID">
        <tr>
                <td align=center>#Main_Category_Name#</td>
        </tr>
        <CFOUTPUT group="Category_ID">
        <tr>
                <td align=center>
                <cfform action="index.cfm">
                #Category_Name#<p>
                <select name="Product_ID">
                <CFOUTPUT>
                <option value="#Product_ID#">#Product_Name#
                </CFOUTPUT>
                </select>
                </cfform>
                </td>
        </tr>
        </CFOUTPUT>
</CFOUTPUT>
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED]
http://www.twcreations.com/ 954.721.3452

______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to