<cfoutput> <cfloop list="#form.fieldnames#" index="field"> <cfif left(field, 5) eq "radio"> #field# : #form[field]#<br /> </cfif> </cfloop> </cfoutput>
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Priya Koya wrote: > But we cannot use "to" or "from" when we use... list. > > > > On Mon, Feb 9, 2009 at 10:35 AM, Azadi Saryev <[email protected]> wrote: > > >> are you familiar with <cfif>...<cfelse>...</cfif> construct? >> >> Azadi Saryev >> Sabai-dee.com >> http://www.sabai-dee.com/ >> >> >> >> Priya Koya wrote: >> >>> ok.. but here my out put also includes the "Submit" field name and I dont >>> want to display in my output... How could I do that? >>> I just need: >>> Va1l >>> Val2 >>> Val3.... >>> not the "Submit" field. >>> >>> On Mon, Feb 9, 2009 at 9:01 AM, Peter Boughton <[email protected]> >>> >> wrote: >> >>> >>>> There are very few cases when Evaluate() should be used. >>>> >>>> Don't do this: >>>> <cfset var1 = #Evaluate("form."&i)#> >>>> >>>> <cfoutput>#var1#</cfoutput> >>>> >>>> >>>> Do this: >>>> <cfoutput>#Form[i]#</cfoutput> >>>> >>>> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319085 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

