You can use <input> in a <CFFORM>, although in CF7, there's really no reason to. The problem in this case isn't the <cfform> tag, but the Flash format, which will ignore the <input> tag.
Incidently, this link ought to give you an idea of why this is such a problem in Flash. http://www.actionscripts.org/tutorials/beginner/variables/index3.shtml Basically, it looks like the name of the input box is conflicting with Actionscript's Strict Data Type syntax. I'd be willing to bet that Flash is interpreting your control name of "rc:Parameters" as an attempt to name the box "rc" with a Strict Data Type of "Parameters", which doesn't exist. That being said, I think I have a solution. It looks like it will work, but I basically know crap about SQL Reporting Server. Here's my code: <cfif StructIsEmpty(form)> <cfform format="flash" width="500" height="600" skin="haloSilver" target="_self" timeout="500"> <cfformgroup type="tabnavigator" label="ReportOptions"> <cfformgroup type="page" label="MiContacts Reporting Options"> <cfformgroup type="vbox"> <cfselect name="Manager"> <option SELECTED>Some Guy</option> </cfselect> <cfinput name="SubmitIt" type="submit" value="Generate Report" width="250"> </cfformgroup> </cfformgroup> </cfformgroup> </cfform> <cfelse> <cfparam name="urlString" default="?rc:Parameters=false"> <cfdump var="#form#"> <cfloop collection="#form#" item="i"> <cfif CompareNoCase(i,"FIELDNAMES")> <CFSET urlString = "#urlString#" & "&" & "#i#" & "=" & "#URLEncodedFormat(StructFind(form,i))#"> </CFIF> </cfloop> <cflocation url="http://mi-mke-rpt02/reportserver?/Development/25642/rptReferrals#ur lString#" addtoken="false"> </cfif> In the form's action, I'm adding rc:Parameters to the form scope- which is basically just a structure and can be interacted with as such. Looping though the new struct to create a URL querystring, making sure to not include the Fieldnames key, as that is not needed, and redirecting to the Report Server, with the querystring appended. HTH Matt Osbun Web Developer Health Systems, International -----Original Message----- From: Tara Ernst [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 8:24 AM To: CF-Newbie Subject: RE: Need help with name attribute on cfinput tag Thanks for the response Simon. Actually, I can use the colon in a <input> verses <cfinput> tag, however, the <cfform> does not recognize the form variable and does not pass it to the Report Server. This all works fine if I use regular HTML, but as soon as I attempt it with <cfform>, it dies.... We really want to have the look and feel of the Flash form. I don't believe you can use <input> in a <cfform>, can you? Any other suggestions? > Hi Tara, > > Do you really need to use <cfinput>? If not, then you can use a colon > in <input> without much further ado. If there really is a need to > validate your form's input, why not code it on your own? I'm sure > there are many open source libraries that will help you. > > BTW, I hope I'm not mistaken, but I believe you can't use a hidden > type in <cfinput> > > [ simon.cpu ] > > > > Yes, I really want to be able to use the CFMX 7 Flash form as I > > believe that is the direction we are moving with our app. There > must > > be some sort of workaround (escape sequence, variable, URL encoding). > > > I just have not found one yet. I am leaning towards the URL > encoding > > - are you familiar with this function? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1033 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
