Right- attributes.question1... Are coming from form fields. I understand its better to go straight there, but problem is I have to have separate fuse doing this action. Its because Currently we are just assigning CGI variables and stuff, but we 've to do lot more actions in this specific FUSE. E.g sending emails and stuff. So I was wondering is there any way to do so using CFLocation....If not then probably I'll go other way.
-----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: 09 April 2002 10:57 To: CF-Talk Subject: Re: CFSaveContent Variable Shahzad, You probably need to URL encode the variable "questions", but I just notice that you're passing "Questions" as BodyText on your CFLocation and trying to display BodyContent. Where are attributes.question1 to attributes.questionX coming from? Are they form fields? If they are, why not just go straight to your Fuseaction SubmitQuestionsForSubcategory and generate this content in there rather than adding this additional step and trusting your app to the stability of cflocation? Hope this helps Regards Stephen ----- Original Message ----- From: "Shahzad.Butt" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 10:27 AM Subject: CFSaveContent Variable > Hi all > > Is there any way to pass variable used in CFSavecontent (Not using > FORM) but using CFLocation. Following is code how can I make it > working? > > > <CFSavecontent variable="Questions"> > <cfoutput> > User Name: #CGI.AUTH_USER#<br> > Browser and Windows: #CGI.HTTP_USER_AGENT#<br> > Remote Address: #CGI.REMOTE_ADDR# > </cfoutput><br> > <CFLoop From="1" To="#Attributes.NumberOfQuestionsAsked#" > Index="Counter"> > <cfoutput>#Evaluate("Attributes.Question#Counter#")#: > #Evaluate("Attributes.Question#Counter#")#<br></cfoutput> > </cfloop> > </CFSavecontent> > > <CFLocation > URL="#self#?Fuseaction=#Attributes.XFA.SubmitQuestionsForSubcategory# > &UserID=#Attributes.UserID#&ContactType=#Attributes.ContactType#&Conta > ct > Phone=#Attributes.ContactPhone# > &ContactEmail=#ContactEmail#&CaseDescription=#Attributes.CaseDescription > #&SubCategoryID=#Attributes.SubCategoryID#&BodyText=#Questions#"> > > It gives blank page if i display #Attributes.BodyContent# in next > page...... ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists